Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » NoClassDefFoundError ContainerCreateException starting
NoClassDefFoundError ContainerCreateException starting [message #608282] Wed, 26 May 2010 15:23 Go to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,

I try to call the aggregator progammatically in the following way:

Builder builder = new Builder();
builder.setAction(ActionType.BUILD);
builder.setBuildModelLocation(aggregatorFile);

The following exception is thrown and I don't know which feature contains the class:



java.lang.NoClassDefFoundError: org/eclipse/ecf/core/ContainerCreateException
at vsa.vsaeclipse.distributor.BuckminsterAdapter.createMirror(B uckminsterAdapter.java:83)
at vsa.vsaeclipse.distributor.engine.TestBuckminsterAdapter.cre ateMirror(TestBuckminsterAdapter.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.internal.runners.TestMethodRunner.executeMethodBod y(TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(T estMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected (BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMe thodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRu nner.java:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTest Method(TestClassMethodsRunner.java:66)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestCl assMethodsRunner.java:35)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected( TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected (BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunn er.java:52)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.r un(JUnit4TestReference.java:49)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(Test Execution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner.java:197)
Caused by: java.lang.ClassNotFoundException: org.eclipse.ecf.core.ContainerCreateException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 22 more


Do you now were to find?

Best Regards
Markus
Re: NoClassDefFoundError ContainerCreateException starting [message #608284 is a reply to message #608282] Thu, 27 May 2010 21:08 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Looks like ECF (or parts of it) is missing...
- henrik

On 5/26/10 5:23 PM, Markus Oley wrote:
> Hi,
> I try to call the aggregator progammatically in the following way:
> Builder builder = new Builder();
> builder.setAction(ActionType.BUILD);
> builder.setBuildModelLocation(aggregatorFile);
>
> The following exception is thrown and I don't know which feature
> contains the class:
>
>
> java.lang.NoClassDefFoundError:
> org/eclipse/ecf/core/ContainerCreateException
> at vsa.vsaeclipse.distributor.BuckminsterAdapter.createMirror(B
> uckminsterAdapter.java:83)
> at vsa.vsaeclipse.distributor.engine.TestBuckminsterAdapter.cre
> ateMirror(TestBuckminsterAdapter.java:46)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
> ssorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
> thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.junit.internal.runners.TestMethodRunner.executeMethodBod
> y(TestMethodRunner.java:99)
> at org.junit.internal.runners.TestMethodRunner.runUnprotected(T
> estMethodRunner.java:81)
> at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
> (BeforeAndAfterRunner.java:34)
> at org.junit.internal.runners.TestMethodRunner.runMethod(TestMe
> thodRunner.java:75)
> at org.junit.internal.runners.TestMethodRunner.run(TestMethodRu
> nner.java:45)
> at org.junit.internal.runners.TestClassMethodsRunner.invokeTest
> Method(TestClassMethodsRunner.java:66)
> at org.junit.internal.runners.TestClassMethodsRunner.run(TestCl
> assMethodsRunner.java:35)
> at org.junit.internal.runners.TestClassRunner$1.runUnprotected(
> TestClassRunner.java:42)
> at org.junit.internal.runners.BeforeAndAfterRunner.runProtected
> (BeforeAndAfterRunner.java:34)
> at org.junit.internal.runners.TestClassRunner.run(TestClassRunn er.java:52)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.r
> un(JUnit4TestReference.java:49)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(Test
> Execution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe
> sts(RemoteTestRunner.java:467)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe
> sts(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R
> emoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
> RemoteTestRunner.java:197)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.ecf.core.ContainerCreateException
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301 )
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 22 more
>
>
> Do you now were to find?
> Best Regards
> Markus
Previous Topic:B3 Aggregator + Helios Site
Next Topic:b3 aggregator maven mapping
Goto Forum:
  


Current Time: Wed Dec 04 03:18:10 GMT 2024

Powered by FUDForum. Page generated in 0.03295 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top