1 Reply Latest reply on Sep 10, 2007 7:30 AM by dssa das

    using jstl 1.1.2 problem

    dssa das Newbie

      I am using jboss portal 2.4.2 and jboss as 4.0.5 GA.
      I depoloyed my portlet with jstl, and its sucessfull, but i have got errors when I rendering it.
      My web.xml configuration:

      <web-app>
       <taglib>
       <taglib-uri>/tags/jstl-c</taglib-uri>
       <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
       </taglib>
      </web-app>


      jsp tags:
      <%@ taglib uri="/tags/jstl-c" prefix="c"%>
      <%@ page isELIgnored="false" %>


      and I am added jstl.jar and standard.jar to my war package.
      Should I configure something else? Might be I using wrong version of jstl?
      This is error:

      11:57:46,233 ERROR [CommandFilter] Exception in command invocation
      org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
       at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:85)
       at sun.reflect.GeneratedMethodAccessor415.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:66)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
       at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
       at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:106)
       at eim.portlet.news.NewsBZWBK.doView(NewsBZWBK.java:77)
       at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:242)
       at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:229)
       at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:366)
       at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:518)
       at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:434)
       at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:144)
       at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:223)
       at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:141)
       at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(Tran
      sactionInterceptor.java:85)
       at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSuppor
      ted_4827075286966232824.java)
       ke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy63.invoke(Unknown Source)