Two Laptop Bag*
The moose likes Struts and the fly likes No action instance for path /WelcomeAction could be created Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No action instance for path /WelcomeAction could be created " Watch "No action instance for path /WelcomeAction could be created " New topic
Author

No action instance for path /WelcomeAction could be created

Vilpesh Mistry
Ranch Hand

Joined: May 27, 2003
Posts: 62
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


Thanks.
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4442
    
    5

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.


Junilu - [How to Ask Questions] [How to Answer Questions]
Vilpesh Mistry
Ranch Hand

Joined: May 27, 2003
Posts: 62
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

Joined: Dec 08, 2004
Posts: 111

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No action instance for path /WelcomeAction could be created
 
Similar Threads
run the structs program
Servlet Action currently Unavailable
Accessing class files in a JAR file with struts application.
Struts 1.1 / Tomcat 5.0.16 - "Servlet Action is not available"
Is It Possible to Invoke An Action By Selecting an Option from a Drop-Down Menu?