This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
GeeCON Prague 2014
subject: No action instance for path