-
May 13th, 2010, 02:51 PM
#1
Spring container not starting in Eclipse RCP application
Hi all,
I've had a good search and attempted some of the suggestions but I'm still having a problem with a Spring DM bundle in an Eclipse RCP application.
Here's my situation.
I have an Eclipse RCP application.
I have an OSGi bundle with a spring sub directory in the META-INF Folder.
The spring xml file is in the the above folder.
I have the spring dm bundles in my platform configuration and I have set the extender to auto-start true.
My target platform has no unresolved errors and all plug-ins validate before start up.
The spring dm bundle is an implementation of an interface from another bundle. This implementation is the service I wish to provide as defined in the spring files.
The interface is in a separate bundle which allows my clients import this decoupling them from the implementations.
The spring container is never started up when the application starts. I have tried setting the spring dm bundle to auto-start but to no avail. The bundle does progress to the active state but the spring container is not started.
Anybody have any ideas or common troubleshooting steps for spring dm and eclipse rcp apps?
Cheers!
-
May 15th, 2010, 05:34 PM
#2
For future reference I have found the cause.
The problem was related to the spring 3.0.2 release. There has been some changes to the ClassVisitor or asm package.
Reverting to 2.5.6 solved the problem.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules