File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 error

 
mahiprime reddy
Greenhorn
Posts: 1
  • 0
  • 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: 9214
9
Linux Mac OS X Windows
  • 0
  • 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
  • 0
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic