You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Nash <na...@hursley.ibm.com> on 2007/07/03 19:16:23 UTC
NoClassDefFoundError for DefaultContributionPostProcessorExtensionPoint
I'm getting the following error from the new simple-callback-ws sample
when I run a full top-level mvn build against my test codebase that has
the latest incarnation of the fix to TUSCANY-1341. The problem doesn't
occur when I run mvn from the samples directory, or when I run mvn from
the samples/simple-callback-ws directory. I haven't made any code
changes that seem like they could cause this error. Has anyone seen
this before, or are there any suggestions for debugging?
Simon
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running simplecallback.SimpleCallbackTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.381 sec <<< FAILURE!
test(simplecallback.SimpleCallbackTestCase) Time elapsed: 0.311 sec <<< ERROR!
java.lang.NoClassDefFoundError: org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:189)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:113)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:86)
at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229)
at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68)
at simplecallback.SimpleCallbackTestCase.setUp(SimpleCallbackTestCase.java:34)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
Results :
Tests in error:
test(simplecallback.SimpleCallbackTestCase)
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: NoClassDefFoundError for DefaultContributionPostProcessorExtensionPoint
Posted by Luciano Resende <lu...@gmail.com>.
Sorry, I missed these other places. It's fixed under revision #553367.
On 7/4/07, Simon Nash <na...@hursley.ibm.com> wrote:
> This error was fixed in the <parent> section in revision 552945,
> but there are four more places in the <dependencies> section that
> also need changing.
>
> Simon
>
> Luciano Resende wrote:
>
> > I have already changed that under revision #552945 as part of the fix
> > for tuscany-1407
> >
> > On 7/3/07, Simon Nash <na...@hursley.ibm.com> wrote:
> >
> >> I found the problem eventually. There's a bad pom.xml file in
> >> samples/simple-callback-ws. Everywhere that
> >> <version>0.90-incubating</version>
> >> appears in this file, it needs to be changed to
> >> <version>1.0-incubating-SNAPSHOT</version>
> >>
> >> Simon
> >>
> >> Simon Nash wrote:
> >> > I'm getting the following error from the new simple-callback-ws sample
> >> > when I run a full top-level mvn build against my test codebase that has
> >> > the latest incarnation of the fix to TUSCANY-1341. The problem doesn't
> >> > occur when I run mvn from the samples directory, or when I run mvn from
> >> > the samples/simple-callback-ws directory. I haven't made any code
> >> > changes that seem like they could cause this error. Has anyone seen
> >> > this before, or are there any suggestions for debugging?
> >> >
> >> > Simon
> >> >
> >> > -------------------------------------------------------
> >> > T E S T S
> >> > -------------------------------------------------------
> >> > Running simplecallback.SimpleCallbackTestCase
> >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.381
> >> > sec <<< FAILURE!
> >> > test(simplecallback.SimpleCallbackTestCase) Time elapsed: 0.311 sec
> >> > <<< ERROR!
> >> > java.lang.NoClassDefFoundError:
> >> >
> >> org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint
> >>
> >> >
> >> > at
> >> >
> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:189)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:113)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:86)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68)
> >>
> >> >
> >> > at
> >> >
> >> simplecallback.SimpleCallbackTestCase.setUp(SimpleCallbackTestCase.java:34)
> >>
> >> > at junit.framework.TestCase.runBare(TestCase.java:132)
> >> > at junit.framework.TestResult$1.protect(TestResult.java:110)
> >> > at junit.framework.TestResult.runProtected(TestResult.java:128)
> >> > at junit.framework.TestResult.run(TestResult.java:113)
> >> > at junit.framework.TestCase.run(TestCase.java:124)
> >> > at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >> > at junit.framework.TestSuite.run(TestSuite.java:227)
> >> > at
> >> >
> >> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> >>
> >> >
> >> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> > at
> >> >
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>
> >> >
> >> > at
> >> >
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>
> >> >
> >> > at java.lang.reflect.Method.invoke(Method.java:585)
> >> > at
> >> >
> >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> >>
> >> >
> >> > at
> >> >
> >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> >>
> >> >
> >> >
> >> >
> >> > Results :
> >> >
> >> > Tests in error:
> >> > test(simplecallback.SimpleCallbackTestCase)
> >> >
> >> >
> >> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: NoClassDefFoundError for DefaultContributionPostProcessorExtensionPoint
Posted by Simon Nash <na...@hursley.ibm.com>.
This error was fixed in the <parent> section in revision 552945,
but there are four more places in the <dependencies> section that
also need changing.
Simon
Luciano Resende wrote:
> I have already changed that under revision #552945 as part of the fix
> for tuscany-1407
>
> On 7/3/07, Simon Nash <na...@hursley.ibm.com> wrote:
>
>> I found the problem eventually. There's a bad pom.xml file in
>> samples/simple-callback-ws. Everywhere that
>> <version>0.90-incubating</version>
>> appears in this file, it needs to be changed to
>> <version>1.0-incubating-SNAPSHOT</version>
>>
>> Simon
>>
>> Simon Nash wrote:
>> > I'm getting the following error from the new simple-callback-ws sample
>> > when I run a full top-level mvn build against my test codebase that has
>> > the latest incarnation of the fix to TUSCANY-1341. The problem doesn't
>> > occur when I run mvn from the samples directory, or when I run mvn from
>> > the samples/simple-callback-ws directory. I haven't made any code
>> > changes that seem like they could cause this error. Has anyone seen
>> > this before, or are there any suggestions for debugging?
>> >
>> > Simon
>> >
>> > -------------------------------------------------------
>> > T E S T S
>> > -------------------------------------------------------
>> > Running simplecallback.SimpleCallbackTestCase
>> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.381
>> > sec <<< FAILURE!
>> > test(simplecallback.SimpleCallbackTestCase) Time elapsed: 0.311 sec
>> > <<< ERROR!
>> > java.lang.NoClassDefFoundError:
>> >
>> org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint
>>
>> >
>> > at
>> >
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:189)
>>
>> >
>> > at
>> >
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:113)
>>
>> >
>> > at
>> >
>> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:86)
>>
>> >
>> > at
>> >
>> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229)
>>
>> >
>> > at
>> >
>> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68)
>>
>> >
>> > at
>> >
>> simplecallback.SimpleCallbackTestCase.setUp(SimpleCallbackTestCase.java:34)
>>
>> > at junit.framework.TestCase.runBare(TestCase.java:132)
>> > at junit.framework.TestResult$1.protect(TestResult.java:110)
>> > at junit.framework.TestResult.runProtected(TestResult.java:128)
>> > at junit.framework.TestResult.run(TestResult.java:113)
>> > at junit.framework.TestCase.run(TestCase.java:124)
>> > at junit.framework.TestSuite.runTest(TestSuite.java:232)
>> > at junit.framework.TestSuite.run(TestSuite.java:227)
>> > at
>> >
>> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>>
>> >
>> > at
>> >
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>
>> >
>> > at
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>>
>> >
>> > at
>> >
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>>
>> >
>> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> >
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> >
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
>>
>> >
>> > at
>> >
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
>>
>> >
>> >
>> >
>> > Results :
>> >
>> > Tests in error:
>> > test(simplecallback.SimpleCallbackTestCase)
>> >
>> >
>> >
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: NoClassDefFoundError for DefaultContributionPostProcessorExtensionPoint
Posted by Luciano Resende <lu...@gmail.com>.
I have already changed that under revision #552945 as part of the fix
for tuscany-1407
On 7/3/07, Simon Nash <na...@hursley.ibm.com> wrote:
> I found the problem eventually. There's a bad pom.xml file in
> samples/simple-callback-ws. Everywhere that
> <version>0.90-incubating</version>
> appears in this file, it needs to be changed to
> <version>1.0-incubating-SNAPSHOT</version>
>
> Simon
>
> Simon Nash wrote:
> > I'm getting the following error from the new simple-callback-ws sample
> > when I run a full top-level mvn build against my test codebase that has
> > the latest incarnation of the fix to TUSCANY-1341. The problem doesn't
> > occur when I run mvn from the samples directory, or when I run mvn from
> > the samples/simple-callback-ws directory. I haven't made any code
> > changes that seem like they could cause this error. Has anyone seen
> > this before, or are there any suggestions for debugging?
> >
> > Simon
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running simplecallback.SimpleCallbackTestCase
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.381
> > sec <<< FAILURE!
> > test(simplecallback.SimpleCallbackTestCase) Time elapsed: 0.311 sec
> > <<< ERROR!
> > java.lang.NoClassDefFoundError:
> > org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint
> >
> > at
> > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:189)
> >
> > at
> > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:113)
> >
> > at
> > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:86)
> >
> > at
> > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229)
> >
> > at
> > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68)
> >
> > at
> > simplecallback.SimpleCallbackTestCase.setUp(SimpleCallbackTestCase.java:34)
> > at junit.framework.TestCase.runBare(TestCase.java:132)
> > at junit.framework.TestResult$1.protect(TestResult.java:110)
> > at junit.framework.TestResult.runProtected(TestResult.java:128)
> > at junit.framework.TestResult.run(TestResult.java:113)
> > at junit.framework.TestCase.run(TestCase.java:124)
> > at junit.framework.TestSuite.runTest(TestSuite.java:232)
> > at junit.framework.TestSuite.run(TestSuite.java:227)
> > at
> > org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
> >
> > at
> > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> >
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> >
> > at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> >
> > at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> >
> > at
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> >
> >
> >
> > Results :
> >
> > Tests in error:
> > test(simplecallback.SimpleCallbackTestCase)
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: NoClassDefFoundError for DefaultContributionPostProcessorExtensionPoint
Posted by Simon Nash <na...@hursley.ibm.com>.
I found the problem eventually. There's a bad pom.xml file in
samples/simple-callback-ws. Everywhere that
<version>0.90-incubating</version>
appears in this file, it needs to be changed to
<version>1.0-incubating-SNAPSHOT</version>
Simon
Simon Nash wrote:
> I'm getting the following error from the new simple-callback-ws sample
> when I run a full top-level mvn build against my test codebase that has
> the latest incarnation of the fix to TUSCANY-1341. The problem doesn't
> occur when I run mvn from the samples directory, or when I run mvn from
> the samples/simple-callback-ws directory. I haven't made any code
> changes that seem like they could cause this error. Has anyone seen
> this before, or are there any suggestions for debugging?
>
> Simon
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running simplecallback.SimpleCallbackTestCase
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.381
> sec <<< FAILURE!
> test(simplecallback.SimpleCallbackTestCase) Time elapsed: 0.311 sec
> <<< ERROR!
> java.lang.NoClassDefFoundError:
> org/apache/tuscany/sca/contribution/processor/DefaultContributionPostProcessorExtensionPoint
>
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:189)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:113)
>
> at
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:86)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:229)
>
> at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:68)
>
> at
> simplecallback.SimpleCallbackTestCase.setUp(SimpleCallbackTestCase.java:34)
> at junit.framework.TestCase.runBare(TestCase.java:132)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at
> org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
>
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
>
> at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
>
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
>
>
>
> Results :
>
> Tests in error:
> test(simplecallback.SimpleCallbackTestCase)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org