|
Re: Setting a Bundle cosuming Spring AOP [message #731367 is a reply to message #731325] |
Fri, 30 September 2011 18:30 |
Dmitry Sklyut Messages: 279 Registered: January 2010 |
Senior Member |
|
|
Try to replace all individual import packages with a single
Import-Library: org.springframework.spring;version="[3.0.5.RELEASE,3.0.5.RELEASE]"
This will rulle out any missing classes from spring. You could be missing imports for "org.aopalliance.aop.*" packages or something deeper in spring that is used by factories to create aspects.
If you get it working with library import, start stripping away bundles and go with Import-Bundle
At minimum you will need:
Import-Bundle: com.springsource.org.aopalliance;version="[1.0.0,1.0.0]",
org.springframework.aop;version="[3.0.5.RELEASE,3.0.5.RELEASE]",
org.springframework.asm;version="[3.0.5.RELEASE,3.0.5.RELEASE]",
org.springframework.beans;version="[3.0.5.RELEASE,3.0.5.RELEASE]",
org.springframework.core;version="[3.0.5.RELEASE,3.0.5.RELEASE]"
org.springframework.context;version="[3.0.5.RELEASE,3.0.5.RELEASE]"
You might need to add ".aspects" and ".context-support". With web app you will also need the ".web" and ".web.servlet".
Regards,
Dmitry
|
|
|
|
Powered by
FUDForum. Page generated in 0.02752 seconds