Aug 11th, 2008, 02:40 AM
I'm playing with the Application Platform and the Eclipse tools for it, and I came to an issue I don't understand and haven't found any hint of it anywhere...
I have migrated a wicket webapp to a war package deployed to SpringSource AP and add OSGi headers to the manifests of our libraries, so that the libs are now imported to the war. I got it working once, but after some changes (and I really don't know what the changes exactly were, but mainly refactoring of the libs) it has stopped working. The deployment to the server says:
com.springsource.platform.osgi.framework.ImportMer geException: conflicting values 'com.tietoenator.di.ria.wicket.wicket_jQuery', 'com.tietoenator.di.ria.wicket.wicket13_components ' of attribute 'bundle-symbolic-name'
(Bundle-SymbolicName is really unique for all the bundles...)
As I said before, I haven't found any clue what could that mean. Do you have any ideas?
I attach the manifest of the war if it may be of a help.
Bundle-Name: Wicket Test
Aug 11th, 2008, 07:36 AM
It appears to me that the com.tietoenator.di.ria.wicket.wicket_jQuery and com.tietoenator.di.ria.wicket.wicket13_components bundles both export the same package; however, based on the information you've provided, I cannot determine which package that is.
Did you see a more specific error message in the console or logging.log file?
Aug 11th, 2008, 08:30 AM
you're right. I've missed that. However, it could have said it in a more understandable way (something like 'conflicting exported packages'...).
Thanks for the hint.
I am still deep into classloader problems (new ones)...