File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes No action instance for path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No action instance for path " Watch "No action instance for path " New topic

No action instance for path

Derick Aneiba

Joined: Mar 10, 2005
Posts: 8
Dear All,

I am a new to Struts with EJB, i have developed a small Struts app to interact with EJB. one i tested it, the below error comes up, any idea, please help

12:35:05,437 ERROR [RequestProcessor] No action instance for path /stockselect could be created

java.lang.ClassCastException: lum.stock.action.StockAction


D. Aneiba
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
It looks to me like this may be an error in your struts-config.xml file. Make sure that the /stockselect action is mapped to a class that exists, has a public no-args constructor, and extends org.apache.struts.action.Action.

Consultant, Sima Solutions
I agree. Here's the link:
subject: No action instance for path