Announcement Announcement Module
Collapse
No announcement yet.
Servlet Exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Servlet Exception

    Hi all
    I am bew to spring and just onto my first spring mvc program.
    My first program was hello world spring program with beans which worked.
    Now i am using some JSPs to display webpage to create Spring MVC Hello World. program

    My code contains -
    web.xml and spring-servlet.xml
    index.jsp(welcome page) and jsp/hello.jsp (message is here )
    HelloWorldController servlet.

    I am using Eclipse and Tomcat.

    I picked example code from this link
    http://viralpatel.net/blogs/2010/06/...ing-3-mvc.html




    I get this error message and i make nothing out of it.Please help me here.
    Jan 12, 2011 10:59:23 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet [spring] in context with path [/Spring-webApp] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config] with root cause
    java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1671)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1516)
    at org.springframework.web.servlet.support.JstlUtils. exposeLocalizationContext(JstlUtils.java:97)
    at org.springframework.web.servlet.view.JstlView.expo seHelpers(JstlView.java:135)
    at org.springframework.web.servlet.view.InternalResou rceView.renderMergedOutputModel(InternalResourceVi ew.java:211)
    at org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:250)
    at org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1047)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:817)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:719)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
    at org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:621)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:306)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:161)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:164)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:108)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:558)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:379)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:243)
    at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:259)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:281)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Working...
X