|Can't activate javax.jms in Eclipse [message #694333]
||Fri, 08 July 2011 11:02
Registered: June 2011
moving on to the next problem. I'm having a bundle that requires activemq, and activemq requires javax.jms. So I download it from ebr.springsource.com and then put it on the target platform (Window->Preferences->Plugin development->Target platform) choose edit, add a folder with the jar (I have done this already for spring, activemq, slf4j and some more) and then check it in the content tab.
I then click Finish and Ok. Eclipse shows a dialog "resetting target platform". However when I then open up the target-platform dialog the javax.jms in unchecked and I can't use it!!? Eclipse seems to have unchecked it for me automaticly. I have tried to add it several times, restarted eclipse and the computer with no result.
Getting the error message below when I'm running my bundle.
org.osgi.framework.BundleException: The bundle "com.springsource.org.apache.activemq_5.3.0 " could not be resolved. Reason: Missing Constraint: Import-Package: javax.jms; version="[1.1.0,2.0.0)"
Powered by FUDForum
. Page generated in 0.02468 seconds