com.google.collect missing from Require-Bundles in xtext 2.2? [message #762571] |
Thu, 08 December 2011 10:20 |
|
I'm trying to use org.eclipse.xtext version 2.2.0.v201112071226 but it fails at runtime with the exception below. Investigating further, I see that this bundle makes use of the missing class but neither imports the package or require the bundle. Is this intentional or is it an oversight?
java.lang.NoClassDefFoundError: com/google/common/collect/Lists
at org.eclipse.xtext.service.CompoundModule.<init>(CompoundModule.java:28)
at org.eclipse.xtext.service.AbstractGenericModule.getBindings(AbstractGenericModule.java:37)
at org.eclipse.xtext.service.AbstractGenericModule.configure(AbstractGenericModule.java:31)
at org.eclipse.xtext.service.DefaultRuntimeModule.configure(DefaultRuntimeModule.java:74)
|
|
|
|
|
|
|
|
Re: com.google.collect missing from Require-Bundles in xtext 2.2? [message #762635 is a reply to message #762630] |
Thu, 08 December 2011 12:28 |
|
We use Buckminster to transitively resolve all bundles that needs to be present in the target platform. We had no search path set up for com.google.guice so Buckminster did not know where to look for it. Since the requirement is optional (I'd like you to elaborate on the reason why that is), it didn't cause any resolution failure.
Consequently, the com.google.guice bundle was lacking from the target platform and running JUnit tests didn't reveal the problem until it was encountered at runtime.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03453 seconds