• 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