You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/11/01 10:07:50 UTC
[jira] Created: (CXF-1163) None of samples are working in latest
trunk
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.
[jira] Resolved: (CXF-1163) None of samples are working in latest
trunk
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-1163.
------------------------------
Resolution: Fixed
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> 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.
[jira] Commented: (CXF-1163) None of samples are working in latest
trunk
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (CXF-1163) None of samples are working in latest
trunk
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539500 ]
Bozhong Lin commented on CXF-1163:
----------------------------------
I was using maven 2.0.7 version when I got this error.
> 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.
[jira] Commented: (CXF-1163) None of samples are working in latest
trunk
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ 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.