Java Mailing List Archive

http://www.java2.5341.com/

Home » axis-user.ws »

Problem with wsdl2code..

Harlan Gray

2010-02-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,
I am building a web service project with Maven 2.0.9 and Netbeans 6.8. When I try to build the project I get the following log with an error at the end. This error occurs when I use a new location for the repository (made the change "<localRepository>D:/maven_repo</localRepository>" in settings.xml of maven\conf) . The original repository ("C:\Documents and Settings\Administrator\.m2\repository")  works properly. So I guess it could be due to an old artifact or dependent in the repository which is not downloading now due to some change.  Or it can be a bug in the new Axis2 components which are being downloaded to my machine. Can someone please explain what might be the cause of this error or what the change might be? Appreciate your help very much. 
Thanks,
Harlan Gray. 


NetBeans: Executing '"D:\Program Files\apache-maven-2.0.9\bin\mvn.bat" -Dmaven.test.skip=true -Dnetbeans.execution=true install'
NetBeans:      JAVA_HOME=D:\Program Files\Java\jdk1.6.0_18
Scanning for projects...
Reactor build order: 
  TransliterationProject
  TransliterationWebService Maven Webapp
  PersonAndLocationNameTransliteration Maven Webapp
  TransliterationTest Maven Webapp
  TransliterationAdminTools JEE5 Webapp
------------------------------------------------------------------------
Building TransliterationProject
   task-segment: [install]
------------------------------------------------------------------------
[site:attach]
[install:install]
Installing E:\JavaWork\TransliterationProject\pom.xml to D:\maven_repo\com\icta\TransliterationProject\1.0\TransliterationProject-1.0.pom
------------------------------------------------------------------------
Building TransliterationWebService Maven Webapp
   task-segment: [install]
------------------------------------------------------------------------
artifact org.codehaus.mojo:jaxws-maven-plugin: checking for updates from maven2-repository.dev.java.net
[resources:resources]
Using encoding: 'US-ASCII' to copy filtered resources.
artifact org.jvnet.staxex:stax-ex: checking for updates from maven-repository.dev.java.net
artifact org.jvnet.staxex:stax-ex: checking for updates from maven2-repository.dev.java.net
artifact org.jvnet.staxex:stax-ex: checking for updates from central
[WARNING] While downloading jdom:jdom:1.1
  This artifact has been relocated to org.jdom:jdom:1.1.


[compiler:compile]
Nothing to compile - all classes are up to date
[jaxws:wsgen]
[resources:testResources]
Using encoding: 'US-ASCII' to copy filtered resources.
[compiler:testCompile]
Not compiling test sources
[surefire:test]
Tests are skipped.
[war:war]
Packaging webapp
Assembling webapp[TransliterationWebService] in [E:\JavaWork\TransliterationProject\TransliterationWebService\target\TransliterationWebService]
Processing war project
Webapp assembled in[1953 msecs]
Building war: E:\JavaWork\TransliterationProject\TransliterationWebService\target\TransliterationWebService.war
[install:install]
Installing E:\JavaWork\TransliterationProject\TransliterationWebService\target\TransliterationWebService.war to D:\maven_repo\com\icta\TransliterationWebService\1.0\TransliterationWebService-1.0.war
------------------------------------------------------------------------
Building PersonAndLocationNameTransliteration Maven Webapp
   task-segment: [install]
------------------------------------------------------------------------
[WARNING] While downloading jdom:jdom:1.1
  This artifact has been relocated to org.jdom:jdom:1.1.


[WARNING] POM for 'junit:junit:pom:4.4:test' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project junit:junit at D:\maven_repo\junit\junit\4.4\junit-4.4.pom
[WARNING] POM for 'junit:junit:pom:4.4:test' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project junit:junit at D:\maven_repo\junit\junit\4.4\junit-4.4.pom
[WARNING] POM for 'commons-codec:commons-codec:pom:1.3:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project commons-codec:commons-codec at D:\maven_repo\commons-codec\commons-codec\1.3\commons-codec-1.3.pom
[WARNING] POM for 'commons-codec:commons-codec:pom:1.3:runtime' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project commons-codec:commons-codec at D:\maven_repo\commons-codec\commons-codec\1.3\commons-codec-1.3.pom
-----------------------------------------------------
this realm = app0.child-container[org.apache.axis2:axis2-wsdl2code-maven-plugin]
urls[0] = file:/D:/maven_repo/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.5.1/axis2-wsdl2code-maven-plugin-1.5.1.jar
urls[1] = file:/D:/maven_repo/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar
urls[2] = file:/D:/maven_repo/org/apache/axis2/axis2-codegen/1.5.1/axis2-codegen-1.5.1.jar
urls[3] = file:/D:/maven_repo/org/apache/axis2/axis2-kernel/1.5.1/axis2-kernel-1.5.1.jar
urls[4] = file:/D:/maven_repo/org/apache/ws/commons/axiom/axiom-api/1.2.8/axiom-api-1.2.8.jar
urls[5] = file:/D:/maven_repo/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.1/geronimo-activation_1.1_spec-1.0.1.jar
urls[6] = file:/D:/maven_repo/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.6/geronimo-javamail_1.4_spec-1.6.jar
urls[7] = file:/D:/maven_repo/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
urls[8] = file:/D:/maven_repo/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
urls[9] = file:/D:/maven_repo/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
urls[10] = file:/D:/maven_repo/org/apache/ws/commons/axiom/axiom-impl/1.2.8/axiom-impl-1.2.8.jar
urls[11] = file:/D:/maven_repo/org/codehaus/woodstox/wstx-asl/3.2.4/wstx-asl-3.2.4.jar
urls[12] = file:/D:/maven_repo/org/apache/ws/commons/axiom/axiom-dom/1.2.8/axiom-dom-1.2.8.jar
urls[13] = file:/D:/maven_repo/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.2/geronimo-ws-metadata_2.0_spec-1.1.2.jar
urls[14] = file:/D:/maven_repo/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1/geronimo-jta_1.1_spec-1.1.jar
urls[15] = file:/D:/maven_repo/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
urls[16] = file:/D:/maven_repo/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
urls[17] = file:/D:/maven_repo/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
urls[18] = file:/D:/maven_repo/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar
urls[19] = file:/D:/maven_repo/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar
urls[20] = file:/D:/maven_repo/org/apache/ws/commons/schema/XmlSchema/1.4.3/XmlSchema-1.4.3.jar
urls[21] = file:/D:/maven_repo/org/apache/neethi/neethi/2.0.4/neethi-2.0.4.jar
urls[22] = file:/D:/maven_repo/org/apache/woden/woden-api/1.0M8/woden-api-1.0M8.jar
urls[23] = file:/D:/maven_repo/org/apache/ant/ant/1.7.0/ant-1.7.0.jar
urls[24] = file:/D:/maven_repo/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar
urls[25] = file:/D:/maven_repo/org/apache/woden/woden-impl-dom/1.0M8/woden-impl-dom-1.0M8.jar
urls[26] = file:/D:/maven_repo/javax/mail/mail/1.4/mail-1.4.jar
urls[27] = file:/D:/maven_repo/javax/activation/activation/1.1/activation-1.1.jar
urls[28] = file:/D:/maven_repo/xalan/xalan/2.7.0/xalan-2.7.0.jar
urls[29] = file:/D:/maven_repo/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[30] = file:/D:/maven_repo/org/apache/axis2/axis2-adb/1.5.1/axis2-adb-1.5.1.jar
urls[31] = file:/D:/maven_repo/org/apache/axis2/axis2-adb-codegen/1.5.1/axis2-adb-codegen-1.5.1.jar
urls[32] = file:/D:/maven_repo/org/apache/axis2/axis2-java2wsdl/1.5.1/axis2-java2wsdl-1.5.1.jar
urls[33] = file:/D:/maven_repo/org/apache/axis2/axis2-transport-http/1.5.1/axis2-transport-http-1.5.1.jar
urls[34] = file:/D:/maven_repo/org/apache/httpcomponents/httpcore/4.0/httpcore-4.0.jar
urls[35] = file:/D:/maven_repo/org/apache/axis2/axis2-transport-local/1.5.1/axis2-transport-local-1.5.1.jar
urls[36] = file:/D:/maven_repo/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
urls[37] = file:/D:/maven_repo/jdom/jdom/1.0/jdom-1.0.jar
urls[38] = file:/D:/maven_repo/xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
urls[39] = file:/D:/maven_repo/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
urls[40] = file:/D:/maven_repo/xom/xom/1.0/xom-1.0.jar
urls[41] = file:/D:/maven_repo/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
urls[42] = file:/D:/maven_repo/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
urls[43] = file:/D:/maven_repo/org/apache/axis2/axis2-xmlbeans/1.5.1/axis2-xmlbeans-1.5.1.jar
urls[44] = file:/D:/maven_repo/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8


this realm = plexus.core
urls[0] = file:/D:/Program Files/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
Number of imports: 6
import: org.codehaus.classworlds.Entry@4891bb28
import: org.codehaus.classworlds.Entry@f8e44ca4
import: org.codehaus.classworlds.Entry@c51bc9e7
import: org.codehaus.classworlds.Entry@bece5185
import: org.codehaus.classworlds.Entry@3fee8e37
import: org.codehaus.classworlds.Entry@3fee19d8
-----------------------------------------------------
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Internal error in the plugin manager executing goal 'org.apache.axis2:axis2-wsdl2code-maven-plugin:1.5.1:wsdl2code': Unable to find the mojo 'org.apache.axis2:axis2-wsdl2code-maven-plugin:1.5.1:wsdl2code' in the plugin 'org.apache.axis2:axis2-wsdl2code-maven-plugin'
org.apache.axis2.wsdl.codegen.CodeGenerationException
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 1 minute 31 seconds
Finished at: Mon Feb 15 21:56:20 PST 2010
Final Memory: 21M/51M
------------------------------------------------------------------------


©2008 java2.5341.com - Jax Systems, LLC, U.S.A.