Error running mamute on Tomcat

I am trying to run mamute from Tomcat v7.0.47 and Eclipse Luna.

I am getting following error :

HTTP Status 500 - /WEB-INF/jsp/list/home.jsp raised an exception

type Exception report

message /WEB-INF/jsp/list/home.jsp raised an exception

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: /WEB-INF/jsp/list/home.jsp raised an exception
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:122)

root cause

org.apache.jasper.JasperException: /WEB-INF/jsp/list/home.jsp(1,1) /WEB-INF/jsp/prelude.jspf(4,61) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:81)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:376)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:143)
    org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:398)
    org.apache.jasper.compiler.Parser.addInclude(Parser.java:449)
    org.apache.jasper.compiler.Parser.parse(Parser.java:182)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:145)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:212)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
    br.com.caelum.vraptor.core.DefaultStaticContentHandler.deferProcessingToContainer(DefaultStaticContentHandler.java:85)
    br.com.caelum.vraptor.core.DefaultStaticContentHandler$Proxy$_$$_WeldClientProxy.deferProcessingToContainer(Unknown Source)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:109)
    br.com.caelum.vraptor.view.DefaultPageResult.defaultView(DefaultPageResult.java:81)
    br.com.caelum.vraptor.observer.ForwardToDefaultView.forward(ForwardToDefaultView.java:67)
    br.com.caelum.vraptor.actioncache.events.KeepResultInCache.forward(KeepResultInCache.java:62)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)
    org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
    org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)
    org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)
    br.com.caelum.vraptor.observer.RequestHandlerObserver.handle(RequestHandlerObserver.java:94)
    org.mamute.infra.locale.CustomRequestHandlerObserver.handle(CustomRequestHandlerObserver.java:42)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)
    org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
    org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)
    org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:118)

root cause

org.apache.jasper.JasperException: /WEB-INF/jsp/prelude.jspf(4,61) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:172)
    org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:431)
    org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:240)
    org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:502)
    org.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1652)
    org.apache.jasper.compiler.Parser.parse(Parser.java:185)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:161)
    org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:394)
    org.apache.jasper.compiler.Parser.addInclude(Parser.java:449)
    org.apache.jasper.compiler.Parser.parse(Parser.java:182)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:145)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:212)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
    br.com.caelum.vraptor.core.DefaultStaticContentHandler.deferProcessingToContainer(DefaultStaticContentHandler.java:85)
    br.com.caelum.vraptor.core.DefaultStaticContentHandler$Proxy$_$$_WeldClientProxy.deferProcessingToContainer(Unknown Source)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:109)
    br.com.caelum.vraptor.view.DefaultPageResult.defaultView(DefaultPageResult.java:81)
    br.com.caelum.vraptor.observer.ForwardToDefaultView.forward(ForwardToDefaultView.java:67)
    br.com.caelum.vraptor.actioncache.events.KeepResultInCache.forward(KeepResultInCache.java:62)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)
    org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
    org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)
    org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)
    br.com.caelum.vraptor.observer.RequestHandlerObserver.handle(RequestHandlerObserver.java:94)
    org.mamute.infra.locale.CustomRequestHandlerObserver.handle(CustomRequestHandlerObserver.java:42)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:606)
    org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:90)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:271)
    org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:258)
    org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:237)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:174)
    org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:170)
    org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:124)
    org.jboss.weld.event.EventImpl.fire(EventImpl.java:84)
    br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:118)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.47 logs.

I checked online and found that this error means jstl jar is missing. But I can see that jar in the WEB-INF/lib folder.

Any pointers are appreciated.

  • Is the jar at your classpath? Can you add the versions you are using?

    Leonardo Wolter   Feb 07th 2015
  1. You will see these arrows in every question page. They allow you to upvote/downvote according to the relevancy of the question/answer.
  2. Edit your question/answer if you wish to change it or update it.
  3. If you dont understand something about the question, leave a comment asking. The answer field should be only used for answers.
  4. If the author of a question mark an answer as solution, this mark will be visible.
  5. Click here to see more details about the operation of the system!

1 answer

It is not the answer you were looking for? Search other questions with the tags eclipse tomcat or make your own question.