aspose file tools*
The moose likes Struts and the fly likes struts2 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 error" Watch "struts2 error" New topic
Author

struts2 error

mahiprime reddy
Greenhorn

Joined: Dec 18, 2012
Posts: 1
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

Joined: Oct 29, 2001
Posts: 8912
    
    8

Sounds like you have a missing dependency. What do you have in your WEB-INF/lib directory?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ramesh Chikkaiaha
Greenhorn

Joined: Jan 04, 2013
Posts: 1
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts2 error