I am running the Struts2 application in eclipse but it is displaying the error while running in the Apache Tomcat server the error I am getting is
SEVER
The error is caused by GXP plugin deployed with the application, if you are not using GXPs then remove it from classpath. The referenced class is org.apache.struts2.views.gxp.inject.InjectedObjectContainer
absent in the distribution. You might need additional libraries to satisfy dependency to use this plugin correctly. Certainly it is google-gxp, you can look up required libraries in the maven repository.