com.springsource.org.dom4j-1.6.1 is a bundle required by com.springsource.org.hibernate-3.3.2.GA. Satisfying only the required dependency, com.springsource.javax.xml.stream-1.0.1, as specified by SpringSource’s bundle repository, gave me the strange “Unable to resolve due to constraint violation” error message on GlassFish 3.0.1. It took a while of trials and errors to figure out that it also required com.springsource.javax.xml.bind-2.2.0, which could be acquired from here.
I’m doing this as a part of porting an OSGi application, that uses Hibernate, Spring OSGi and MyFaces, to GlassFish 3.0.1. I’ll create another post with the procedures when that’s successfully completed.
Update:
Services bundles were ported to GlassFish 3.0.1 successfully. The web bundle, however, could not run on it, simply because GlassFish 3.0.1 does not support web bundles yet. Let’s wait and see if GlassFish 3.1 fixes this…