This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Always followed the "caused by" trail on the first exception stack trace. The root cause is:
Caused by: Action class [com.vikram.actions.WelcomeAction] not found - action - vfszip:/home/vikram/Vikram's%20folder/Softwares/jboss-5.0.1.GA/server/default/deploy/Struts2final%20attempt.war/WEB-INF/classes/struts.xml:10:70
This tells me that the struts.xml file, on line(?) 10 is referencing the com.vikram.actions.WelcomeAction class, but that class cannot be found.
Where, exactly, in your application is this class located?
I also noticed that you WAR file name has a space in it (the %20): Struts2final%20attempt.war. That is a very bad idea. Get rid of the space. Also get rid of the space and the apostrophe in the directory name Vikram's%20folder. There is nothing like putting spaces and special characters in directory names to confuse Java code.
Thank you peter for your valuable suggestion but the problem is actually "Caused by: Unable to load vfszip-/...../struts.xml - Class: org.jboss.virtual.plugins.cache.AbstractVFSCache
Line: 75 - org/jboss/virtual/plugins/cache/AbstractVFSCache.java:75:-1"
i donno how come this doesn't work..
when i make application with "annotations" it works but with xml it doesn't . kindly enlighten me what is goin around here with vfszip loading