haninaguib
Aug 12th, 2004, 11:54 AM
Hi I am having some problems getting spring to work inside an eclipse plugin. I am sure I am doing something wrong, but I can't figure out what.
I have a plugin which loads a spring beans xml file in it's start method, using FileSystemXmlApplicationContext
I have also placed all the third party jars (including the various spring related jars) I use in my plugin's <runtime> section.
When I launch a runtime workbench I can see that spring loads my beans definition file
but I get a class not found exception (the class that was not found is one of my beans
which has also been included in the plugin in the same way as spring (lets call it MyBean).
I was wondering if eclipse's classloading scheme was getting in the way, since I can even create an instance of MyBean 'prior' to using the FileSystemXmlApplicationContext and yet it will fail with a class not found exception.
I have a plugin which loads a spring beans xml file in it's start method, using FileSystemXmlApplicationContext
I have also placed all the third party jars (including the various spring related jars) I use in my plugin's <runtime> section.
When I launch a runtime workbench I can see that spring loads my beans definition file
but I get a class not found exception (the class that was not found is one of my beans
which has also been included in the plugin in the same way as spring (lets call it MyBean).
I was wondering if eclipse's classloading scheme was getting in the way, since I can even create an instance of MyBean 'prior' to using the FileSystemXmlApplicationContext and yet it will fail with a class not found exception.