This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No action instance for path

 
Derick Aneiba
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Regards

D. Aneiba
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic