Thursday 8 March 2012

OSGi bundle template.mf issue - can't use bundles in Virgo.

Issue 1:
:
:
        An Import-Package could not be resolved. Caused by missing constraint in bundle <com.springsource.javax.servlet.jsp.jstl_1.2.0>
             constraint: <Import-Package: com.sun.org.apache.xalan.internal.res; version="0.0.0">
 :
 :

Solution:
Go to the /home/wcs/virgo-web-server-2.1.1.RELEASE/lib directory.
Open the java6-server.profile

 org.xml.sax.ext,\
 org.xml.sax.helpers,\
 com.sun.org.apache.xalan.internal.res,\
 com.sun.org.apache.xml.internal.utils,\
 com.sun.org.apache.xpath.internal,\
 com.sun.org.apache.xpath.internal.jaxp,\
 com.sun.org.apache.xpath.internal.objects

org.osgi.framework.bootdelegation = \
 org.eclipse.virgo.osgi.extensions.*,\
 

No comments:

Post a Comment