Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No WebApplicationContext found: no ContextLoaderListener registered?

843833Jan 6 2008 — edited Jul 26 2008
*Hi All,
i am new in spring developement please any one help me about following exception*

java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
org.springframework.web.servlet.support.RequestContextUtils.getWebApplicationContext(RequestContextUtils.java:84)
org.springframework.web.servlet.support.RequestContext.initContext(RequestContext.java:203)
org.springframework.web.servlet.support.JspAwareRequestContext.initContext(JspAwareRequestContext.java:74)
org.springframework.web.servlet.support.JspAwareRequestContext.<init>(JspAwareRequestContext.java:48)
org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:65)
org.apache.jsp.JSP.CreateTestRequest_jsp._jspService(org.apache.jsp.JSP.CreateTestRequest_jsp:121)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2008
Added on Jan 6 2008
1 comment
735 views