I have looked at wafid setup:
- ~/m2/settings.xml looks ok
- maven looks ok
- java jdk looks ok
- xwiki sources look ok (git clone xwiki-platform && git checkout
xwiki-platform-5.4.5)
The error is on xwiki-platform-core:
Running com.xpn.xwiki.doc.XWikiDocumentTest
Tests run: 69, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.539 sec
<<< FAILURE! - in com.xpn.xwiki.doc.XWikiDocumentTest
testObjectNumbersAfterXMLRoundrip(com.xpn.xwiki.doc.XWikiDocumentTest)
Time elapsed: 0.238 sec <<< ERROR!
com.xpn.xwiki.XWikiException: Error number 7005 in 7: Error instanciating
property class
at
com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:597)
at com.xpn.xwiki.objects.BaseObject.fromXML(BaseObject.java:283)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4411)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4288)
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4267)
at
com.xpn.xwiki.doc.XWikiDocumentTest.testObjectNumbersAfterXMLRoundrip(XWikiDocumentTest.java:515)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at
org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:39)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: com.xpn.xwiki.XWikiException: Error number 7006 in 7: Cannot
find property class com.xpn.xwiki.objects.classes.StaticListClass in
MetaClass object
at
com.xpn.xwiki.objects.classes.PropertyClass.fromXML(PropertyClass.java:500)
at
com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:593)
... 24 more
But I cannot reproduce locally.
2014-06-11 11:46 GMT+02:00 wafid <mahfoudh.atmani(a)telecom-bretagne.eu>eu>:
i changed the java for 1.7
----- Mail original -----
De: "Guillaume \"Louis-Marie\" Delhumeau [via XWiki]" <
ml-node+s475771n7590978h73(a)n2.nabble.com>
À: "wafid" <mahfoudh.atmani(a)telecom-bretagne.eu>
Envoyé: Mercredi 11 Juin 2014 11:38:32
Objet: Re: Maven errors
Could you tip:
mvn --version
and paste here the results?
2014-06-04 13:31 GMT+02:00 wafid <mahfoudh.atmani(a)telecom-bretagne.eu>eu>:
i checkout xwiki-platform-5.4.5 tag and build it
without any
modification.
i build it with Java 8.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590874.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
If you reply to this email, your message will be added to the discussion
below:
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590978.html
To unsubscribe from Maven errors, visit
http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscrib…
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7590981.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users