You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2007/11/01 12:22:51 UTC
[jira] Commented: (CXF-1163) None of samples are working in latest
trunk
[ https://issues.apache.org/jira/browse/CXF-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539338 ]
Jervis Liu commented on CXF-1163:
---------------------------------
I saw this problem as well. The problem is caused by the wrong verision number of commons-logging-1.1.jar. In lib, we have commons-logging-1.1.jar, but in the manifest, we expect commons-logging-1.0.4.jar in the classpath.
But I have not figured out how to fix this yet. Can not find a place that has a reference to commons-logging-1.0.4, not sure how this is generated into the manifest.
> 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.