[jboss-jira] [JBoss JIRA] Commented: (JBAS-8705) javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Fri Dec 3 15:47:47 EST 2010
[ https://jira.jboss.org/browse/JBAS-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567617#comment-12567617 ]
Stan Silvert commented on JBAS-8705:
------------------------------------
It looks like javax.servlet is a filtered package and we don't allow classes to be loaded from WEB-INF/lib if they start with "javax.servlet". You could comment this out in deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml. Then see if it works.
See:
<!-- Allow for war local class loaders: in testing -->
<bean name="WarClassLoaderDeployer" class="org.jboss.web.tomcat.service.deployers.WarClassLoaderDeployer">
<property name="relativeOrder">-1</property>
<property name="filteredPackages">javax.servlet</property>
</bean>
Another question for Remy. I wonder what that comment means.
> javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
> ----------------------------------------------------------------------------------------------------
>
> Key: JBAS-8705
> URL: https://jira.jboss.org/browse/JBAS-8705
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ClassLoading
> Affects Versions: 6.0.0.CR1
> Environment: Ubuntu 10.10, jboss-6.0.0.CR1, jbossweb-standalone
> Reporter: David Thompson
> Assignee: jaikiran pai
> Attachments: boot.log, server.log
>
>
> Started up jboss 6 CR1 in jbossweb-standalone (after some tweaking--needing jbas-8659-jboss-beans.xml) and got a working server up and running. Deployed a struts 1.3 WAR. Application deploys. When accessing a page with a c:forEach tag in it, the NoClassDefFoundError is thrown. We have jstl-1.1.2.jar within WEB-INF/lib (verified by listing the war libs below).
> WEB-INF/lib/cachetag.jar
> WEB-INF/lib/commons-beanutils-1.8.0.jar
> WEB-INF/lib/commons-chain-1.2.jar
> WEB-INF/lib/commons-digester-1.8.jar
> WEB-INF/lib/commons-validator-1.3.1.jar
> WEB-INF/lib/jakarta-oro.jar
> WEB-INF/lib/jstl-1.1.2.jar
> WEB-INF/lib/standard-1.0.6.jar
> WEB-INF/lib/struts-core-1.3.10.jar
> WEB-INF/lib/struts-el-1.3.10.jar
> WEB-INF/lib/struts-extras-1.3.10.jar
> WEB-INF/lib/struts-taglib-1.3.10.jar
> If I put the jstl-1.1.2.jar in jbossweb-standalon/lib, restart the server and run the application, then the error doesn't happen.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list