Cannot import org.apache.jasper.compiler,  org.apache.jasper.el and 
org.apache.el
---------------------------------------------------------------------------------

                 Key: PAXWEB-199
                 URL: http://issues.ops4j.org/browse/PAXWEB-199
             Project: Pax Web
          Issue Type: Bug
          Components: JSP Support
    Affects Versions: 0.7.2
            Reporter: Leonardo Uribe
            Assignee: Alin Dreghiciu


I'm trying to use pax web to run myfaces and I have seen this packages are not 
exported. This cause problems with JSF because instances of classes on this 
packages are Serialized and then restored, so if the package is not exported a 
ClassCastException is thrown. The file osgi.bni should look like this:

Export-Package:\
  ${bundle.namespace}; version="${pom.version}",\
  javax.el.*; version="2.1.0",\
  javax.servlet.jsp; version="2.1.0",\
  javax.servlet.jsp.el; version="2.1.0",\
  javax.servlet.jsp.resources; version="2.1.0",\
  javax.servlet.jsp.tagext; version="2.1.0",\
  org.apache.jasper.compiler; version="6.0.18",\
  org.apache.jasper.el; version="6.0.18",\
  org.apache.el; version="6.0.18"

Thanks

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to