OK fellows, if you have the next error using Eclipse + apache + strut2:
SEVERE: Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:138
or in Spanish
GRAVE: Excepción arrancando filtro action2
java.lang.NoClassDefFoundError: com/opensymphony/xwork/config/ConfigurationException
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:134)
and you have the libraries in the Biuld PATH or Deploy assembly, this problem is for a eclipse or tomcat desconfiguration.
I solved clean the proyect (Project-->Clean...) and removed the project from Tomcat server (right click on the server in the Server window--> option Add and Remove...) and re-run server without the project.
After that, run project in in the server again (right click--> Run as --> Run on Server) and choose restart server.
I hope it could be helpful for someone.
Thats all.
| The End |
Yes! Yes!! It's work for me.
ReplyDeleteI have this issues but in a random manner...Now with this workaround It's work fine.
thanks a lot!
I'm glad that works for someone, because I lost a lot time trying to solve it.
ReplyDeleteSaludos desde Chile!!
Thanks a lot.
ReplyDeleteI was very useful for me.
This comment has been removed by the author.
ReplyDeletethis dint work for me... how does that solves the issue?
ReplyDelete