Adding that gave me a missing artifact for javax.jws:jsr181:jar:1.0, adding an exclude and explicit dependency looks like it fixes it:
<dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId> <version>2.1-1</version> <exclusions> <exclusion> <groupId>javax.jws</groupId> <artifactId>jsr181</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.jws</groupId> <artifactId>jsr181-api</artifactId> <version>1.0-MR1</version> </dependency> ...ant On Tue, Apr 8, 2008 at 3:43 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, Ant. > > I think you hit the problem reported at > http://jira.codehaus.org/browse/MEV-573. You could delete the javax/xml/ws > folder from your local maven repo and try again. If you are lucky, you can > get the correct version from java.net repo. > > There is a workaround: Change the pom.xml to use version 2.1-1 for the > jaxws-api dependencies as follow. > > <dependency> > <groupId>javax.xml.ws</groupId> > <artifactId>jaxws-api</artifactId> > <version>2.1-1</version> > </dependency> > > Thanks, > Raymond > > -------------------------------------------------- > From: "ant elder" <[EMAIL PROTECTED]> > Sent: Tuesday, April 08, 2008 5:35 AM > To: <tuscany-dev@ws.apache.org> > Subject: Re: [SCA 1.2] RC3a > > I've spent all morning reviewing this and its looking pretty good but > > i've > > just hit this NoClassDefFoundError when running the calculator sample > > with > > mvn from an empty local mvn repository: > > > > Running calculator.CalculatorTestCase > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.907 > > sec > > <<< FAILURE! > > testCalculator(calculator.CalculatorTestCase) Time elapsed: 0.875 sec > > <<< > > ERROR! > > java.lang.NoClassDefFoundError: javax/jws/WebService > > at > > > > org.apache.tuscany.sca.interfacedef.java.jaxws.JAXWSJavaInterfaceProcessor.visitInterface(JAXWSJavaInterfaceProcessor.java:70) > > > > ...ant > > > > On Tue, Apr 8, 2008 at 8:43 AM, Luciano Resende <[EMAIL PROTECTED]> > > wrote: > > > > The RC3a is now available in [1]. Please give it a quick try, and I'll > > > call a vote in the morning. > > > > > > [1] > > > http://people.apache.org/~lresende/tuscany/sca-1.2-RC3a/<http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3a/> > > > <http://people.apache.org/%7Elresende/tuscany/sca-1.2-RC3a/> > > > > > > -- > > > Luciano Resende > > > Apache Tuscany Committer > > > http://people.apache.org/~lresende<http://people.apache.org/%7Elresende>< > > > http://people.apache.org/%7Elresende> > > > http://lresende.blogspot.com/ > > > > > > --------------------------------------------------------------------- > > > 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] > >