Hi, Am Mittwoch, den 13.04.2011, 22:33 +0100 schrieb tim tam: > I moved my javax packages from system package to boot delegation and > am getting this error. what does this mean ? I suspect it has > something to do with versions... but not sure how or why
What problem are you trying to solve by changing this ? I suggest you leave the javax.servlet.jsp.* packages as system packages but ensure that the version number matches what the servlet container provides if you really want to share these packages. Actually the version should be at least 2.1.0 for them to be used in preference to the exports provided by the JSP Scripting bundle. Regards Felix > > Caused by: java.lang.LinkageError: loader constraint violation: when > resolving method > "org.apache.sling.scripting.jsp.taglib.DefineObjectsTag.setPageContext(Ljavax/servlet/jsp/PageContext;)V" > the class loader (instance of > org/apache/sling/jcr/classloader/internal/DynamicRepositoryClassLoader) > of the current class, > org/apache/jsp/libs/cq/ui/components/widget/html_jsp, and the class > loader (instance of > org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5) for > resolved class, > org/apache/sling/scripting/jsp/taglib/DefineObjectsTag, have different > Class objects for the type javax/servlet/jsp/PageContext used in the > signature > at > org.apache.jsp.libs.cq.ui.components.widget.html_jsp._jspService(html_jsp.java:84) > at > org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419) > ... 128 more > > Thx > Tim
