Lee
Unless they've changed things again, that class is only available in
recent snapshots - can you check which repo mvn downloaded XmlScheam
from (it should be the M1 repo at http://people.apache.org/repository
and *not* the M2 one). The POM warnings are not fatal, they just
prevent dependencies being loaded transitively.
Here's the info on the version I have:
-rw-r--r-- 1 jboynes jboynes 121983 Sep 10 12:42 XmlSchema-
SNAPSHOT.jar
MD5 (/Users/jboynes/.m2/repository/org/apache/ws/commons/XmlSchema/
SNAPSHOT/XmlSchema-SNAPSHOT.jar) = 09bcc35b1b5d5debb315318aff4be4ed
--
Jeremy
On Sep 11, 2006, at 8:05 AM, Lee Surprenant wrote:
ant, thank you for the quick response. Deleting the snapshot got me
past the error. I had thought that running mvn with the -U option
would take care of this for me but apparently not. Afterwards, I ran
svn update, mvn clean, and tried the build again. Unfortunately I
continue to have issues:
[WARNING] POM for 'axis2:axis2-kernel:pom:SNAPSHOT:compile' is
invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'axis2:axis2-codegen:pom:SNAPSHOT:compile' is
invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'axis2:axis2-java2wsdl:pom:SNAPSHOT:compile' is
invalid. It wi
ll be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
...
Running
org.apache.tuscany.tools.java2wsdl.generate.TuscanyJava2WSDLTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.422 sec
Running
org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGeneratorTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
1.656 sec <<< FA
ILURE!
testAccountService
(org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerato
rTestCase) Time elapsed: 1.641 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/utils/
NamespacePref
ixList
at
org.apache.axis2.description.WSDLToAxisServiceBuilder.<init>(WSDLToAx
isServiceBuilder.java:91)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.<init>(WSDL11
ToAxisServiceBuilder.java:136)
at
org.apache.tuscany.tools.wsdl2java.generate.JavaInterfaceGenerator.<i
nit>(JavaInterfaceGenerator.java:104)
at
org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator.genera
teFromWSDL(WSDL2JavaGenerator.java:235)
at
org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGenerator.main(W
SDL2JavaGenerator.java:101)
at
org.apache.tuscany.tools.wsdl2java.generate.WSDL2JavaGeneratorTestCas
e.testAccountService(WSDL2JavaGeneratorTestCase.java:37)
Once again, I am also getting a number of warning above this which
indicate that mvn is unable to get various resources from the standard
repositories.
Thanks again for any help.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]