Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 error

 
mahiprime reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody,

when ever i running my struts2 application it giving fallowing errors
SEVERE: Dispatcher initialization failed
Unable to load configuration. - bean - jar:file:/D:/Tomcat%206.0/webapps/Login/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar!/struts-plugin.xml:8:162

Caused by: Unable to load bean: typerg.apache.struts2.views.gxp.inject.InjectedObjectContainer classrg.apache.struts2.views.gxp.inject.InjectedObjectContainer - bean - jar:file:/D:/Tomcat%206.0/webapps/Login/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar!/struts-plugin.xml:8:16
Caused by: java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObjectContainer
SEVERE: Exception starting filter struts2
Unable to load configuration. - bean - jar:file:/D:/Tomcat%206.0/webapps/Login/WEB-INF/lib/struts2-gxp-plugin-2.3.7.jar!/struts-plugin.xml:8:162
 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you have a missing dependency. What do you have in your WEB-INF/lib directory?
 
Ramesh Chikkaiaha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Man,

This jar has problem. The org.apache.struts2.views.gxp.inject package is missing in the jar.

So you are getting Class Not found Exception when Tomcat is trying to load class From the above package.

Download a stable version of Struts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic