0 Replies Latest reply: Oct 29, 2011 8:52 PM by J2EE_Life RSS

    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config

    J2EE_Life
      Hi ,
      I am doing Spring tutorial on http://static.springsource.org/docs/Spring-MVC-step-by-step/
      I am using Jdev 11g as IDE and its integrated weblogic server.

      The application compiles file but while running, I am getting below error:


      <30 Oct, 2011 6:42:00 AM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@30817155[app:springapp module:springapp-myapp path:/springapp-myapp spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@eca83[
      GET /springapp-myapp/hello.htm HTTP/1.1
      Connection: keep-alive
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      Accept-Encoding: gzip,deflate,sdch
      Accept-Language: en-US,en;q=0.8
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
      Cookie: JSESSIONID=WhZDTsPYpFNKxF7Dt2vsCbk7nFMZn5LxnqjNcY5vj19sW9Qn1YDP!1939776691

      ]] Root cause of ServletException.
      java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
      at org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:97)
      at org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:133)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
      Truncated. see log file for complete stacktrace
      <30 Oct, 2011 6:42:00 AM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at 30 Oct, 2011 6:42:00 AM IST. Notification details:
      WatchRuleType: Log
      WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
      WatchData: DATE = 30 Oct, 2011 6:42:00 AM IST SERVER = DefaultServer MESSAGE = [ServletContext@30817155[app:springapp module:springapp-myapp path:/springapp-myapp spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@eca83[
      GET /springapp-myapp/hello.htm HTTP/1.1
      Connection: keep-alive
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.106 Safari/535.2
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      Accept-Encoding: gzip,deflate,sdch
      Accept-Language: en-US,en;q=0.8
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
      Cookie: JSESSIONID=WhZDTsPYpFNKxF7Dt2vsCbk7nFMZn5LxnqjNcY5vj19sW9Qn1YDP!1939776691

      ]] Root cause of ServletException.
      java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
      at org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext(JstlUtils.java:97)
      at org.springframework.web.servlet.view.JstlView.exposeHelpers(JstlView.java:133)
      at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
      at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
      at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = Nano-PC TXID = CONTEXTID = f0ed2a6d7fb07688:-177d7ce3:133525ea623:-8000-000000000000003c TIMESTAMP = 1319937120824
      WatchAlarmType: AutomaticReset
      WatchAlarmResetPeriod: 30000

      I dont understand where do I need to include javax/servlet/jsp/jstl/core/Config class to remove error?