[ https://issues.apache.org/jira/browse/CXF-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539342 ]
Daniel Kulp commented on CXF-1163: ---------------------------------- What version of Maven? With 2.0.7, the manifest says commons-logging-1.1.jar If maven 2.0.7 fixes it, I'll update the pre-rereqs to say 2.0.7. > None of samples are working in latest trunk > ------------------------------------------- > > Key: CXF-1163 > URL: https://issues.apache.org/jira/browse/CXF-1163 > Project: CXF > Issue Type: Bug > Reporter: Bozhong Lin > Fix For: 2.1 > > > I think this might due to some problem in common.build.xml, following are > errors from ant build: > generate.code: > [echo] Generating code using wsdl2java... > [mkdir] Created dir: > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/wsdl_first/build/classes > [mkdir] Created dir: > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/wsdl_first/build/src > [java] Loading FrontEnd jaxws ... > [java] Loading DataBinding jaxb ... > [java] wsdl2java -verbose -d > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/wsdl_first/build/src > > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/wsdl_first/wsdl/hello_world.wsdl > [java] wsdl2java - Apache CXF (incubator) 2.1-incubator-SNAPSHOT > [java] Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/commons/logging/LogFactory > [java] at > org.springframework.util.ClassUtils.<clinit>(ClassUtils.java:67) > [java] at > org.springframework.core.io.DefaultResourceLoader.<init>(DefaultResourceLoader.java:52) > [java] at > org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:184) > [java] at > org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:80) > [java] at > org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:58) > [java] at > org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:123) > [java] at > org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:68) > [java] at > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:84) > [java] at > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65) > [java] at > org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:54) > [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69) > [java] at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:58) > [java] at > org.apache.cxf.tools.common.toolspec.AbstractToolContainer.getBus(AbstractToolContainer.java:186) > [java] at > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:120) > [java] at > org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:229) > [java] at > org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83) > [java] at > org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102) > [java] at > org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171) > BUILD FAILED > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/common_build.xml:100: > The following error occurred while executing this line: > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/wsdl_first/build.xml:47: > The following error occurred while executing this line: > /local/dev/cxf/trunk/distribution/target/apache-cxf-2.1-incubator-SNAPSHOT/samples/common_build.xml:206: > Java returned: 1 > Total time: 3 seconds -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.