Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No action instance for path /WelcomeAction could be created

 
Vilpesh Mistry
Ranch Hand
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
using tomcat 5.0.19,j2sdk1.4.2_05,eclipse 3.0,jtds-0.9.jar(jdbc driver)

I have started to get following error.
Cannot understand what went wrong, same code is running properly on the other computer.
Also i my attempt to figure out the error i have run
Clean Project option available under Eclipse several times
and also was getting errors like

>javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml

>javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml

>No action instance for path /WelcomeAction could be created
 
Junilu Lacar
Bartender
Pie
Posts: 7250
44
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vilpesh Mistry:
[QB]
>javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml


This usually means that something is off in struts-config.xml; i.e. it is either not well-formed
or not valid
. Double check it to make sure you all tags have matching closing taga.

For the other problem, double check the class name in the struts-config, then make sure that it has been deployed.
 
Vilpesh Mistry
Ranch Hand
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
well i spent good 8 hours with no success
and then decided to install the whole enviroment.(i didnot browsed this answer provided by Junilu Lacar)

i installed tomcat again,installed eclipse with all plugins and got the same code without doing any changes running.
 
sanat
Ranch Hand
Posts: 111
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've also got similar kind of problems, there was problem in my struts-config.xml file.

Check if you have defined the action /WelcomeAction. If nothing works then copy one working struts-config.xml file and replace with your contents.

Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic