On 06/11/2014 03:02 PM, Guillaume "Louis-Marie" Delhumeau wrote:
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)
[...]
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
just a guess: is it possible the "MetaClass" instance has not been initialized
properly for whatever reason? Maybe there are some hints in the
target/surefire-reports/TEST-com.xpn.xwiki.doc.XWikiDocumentTest.xml about it?
Another possibility is that some code that is java8-compiled
got installed in the .m2/repository and does not sit well
with the current java7 build. Maybe moving away the complete repository
and rebuilding helps?
Clemens
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.
>>
>>