File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 8843
    
    7

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2 error
 
Similar Threads
hibernate 4 and spring 3.1.2 issue with LocalSessionFactoryBuilder
Problem in I18N in Spring
MDB in EAR doubt
Chapter 3, Head First Servlets and JSP
Portal error