Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gemini-dev] NoClassDefFoundError: org/eclipse/gemini/blueprint/blueprint/container/SpringBlueprintContainer

Hi,

the only three bundles that have anything to do with blueprint are
gemini-blueprint, gemini-blueprint-io and gemini-blueprint-extender.

Regards,
Leen

On Tue, Sep 27, 2011 at 3:28 PM, Costin Leau <cleau@xxxxxxxxxx> wrote:
> Hi,
>
> Seems like the wrong classloader is used by the extender which for some
> reason doesn't see the blueprint classes.
> Do you have by any chance another bundle that exports the blueprint API
> classes? And if so, can you remove it and then give it another try?
>
> On 9/27/2011 11:11 AM, Leen Toelen wrote:
>> Hi,
>>
>> I am trying to use gemini blueprint 1.0.0.release using the extender
>> bundle inside equinox. When starting the extender bundle
>> (org.eclipse.gemini.blueprint.extender_1.0.0.RELEASE) it discovers my
>> blueprint bundles but immediately generates a NoClassDefFoundError,
>> after which my services are not created of course.
>>
>>
>> 27-sep-2011 10:05:26
>> org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.support.BlueprintContainerCreator
>> createApplicationContext
>> INFO: Discovered configurations
>> {bundleentry://127.fwk23293518/OSGI-INF/blueprint/DataSource.xml]
>>
>> Exception in thread "EclipseGeminiBlueprintExtenderThread-1"
>> java.lang.NoClassDefFoundError:
>> org/eclipse/gemini/blueprint/blueprint/container/SpringBlueprintContainer
>>       at org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintContainerProcessor.createBlueprintContainer(BlueprintContainerProcessor.java:243)
>>       at org.eclipse.gemini.blueprint.extender.internal.blueprint.activator.BlueprintContainerProcessor.preProcessRefresh(BlueprintContainerProcessor.java:162)
>>       at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:221)
>>       at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.ClassNotFoundException:
>> org.eclipse.gemini.blueprint.blueprint.container.SpringBlueprintContainer
>>       at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
>>       at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
>>       at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
>>       at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>       ... 4 more
>>
>> Any ideas on what might be the cause?
>>
>> Regards,
>> Leen
>> _______________________________________________
>> gemini-dev mailing list
>> gemini-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/gemini-dev
>
> --
> Costin
> _______________________________________________
> gemini-dev mailing list
> gemini-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/gemini-dev
>


Back to the top