I tried those specific tests with 1.6.0_16 on Linux and they worked fine. (although using mvn 2.2.1, not 2.2.0. Not sure if that's an issue.)
You might want to try a full clean/rebuild and maybe even delete the com/sun/xml stuff out of .m2/repository to make sure the right version of jaxb-xjc gets pulled down. That said, it looks like those tests are all ones that generate some code, launch the compiler, then load the compiled classes. Thus, if it fails to generate the code or fails to compile them, those errors could occur. If you can "debug" in and see if the stuff in /tmp (or whereever on Windows) gets properly compiled, that would be a great start. Maybe the classpath is wrong or we're hitting a path length issue on the compile or similar. Dan On Wed August 19 2009 3:55:16 am Christian Schneider wrote: > Hi all, > > I am getting some unit test errors and failures in systest. Is this > expected at the moment or am I doing something wrong? Seems like it has > to do with code generation from wsdls. > > Greetings > > Christian > > testDynamicClient > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "org.apache.cxf.systest.aegis" doesnt contain > ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.aegis.AegisClientServerTest:161 > testBase64 > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "com.inforsense.webservicestudio.data.rpc" doesnt > contain ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.ClientServerTest:116 > testJaxWsDynamicClient > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "com.inforsense.webservicestudio.data.rpc" doesnt > contain ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.ClientServerTest:130 > testInvocation > > java.lang.IllegalStateException: Unable to create JAXBContext for > generated packages: "org.apache.cxf.no_body_parts.wsdl" doesnt contain > ObjectFactory.class or jaxb.index > > > org.apache.cxf.systest.jaxws.JaxWsDynamicClientTest:68 -- Daniel Kulp [email protected] http://www.dankulp.com/blog
