GeeCON Prague 2014*
The moose likes Struts and the fly likes HTTP Status 500 - 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 "HTTP Status 500 - No action instance for path " Watch "HTTP Status 500 - No action instance for path " New topic
Author

HTTP Status 500 - No action instance for path

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
Hi all,

I am getting 500 error. while executing struts application.
I have checked if action class is public , action method is public, my struts has right configuration but nothing helped. Am I missing anythig else here? following is my code



Any help will be appreciated. Thanks


SCJP5
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Check the logs. 500 is an internal server error, which could mean a startup error, a runtime error, etc.
Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
Thanks for the reply. Log say (AutoGroupsViewAction )action class not found. but I can see it is in the build and at the right path..
dont know what else to look for

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Is it deployed?
Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
yes it is deployed and i can see it in the war file. also I have redeploy the whole applications. its still the same
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Post the deployed WAR file structure (just the relevant parts).
Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
I just realised when I renamed the action class from AutoGroupsViewAction to AutogroupsViewAction, it works fine...

i have other action classes with has camel case in their names. Also I remember renaming this class from Autogroup... to AutoGroup.. but I also remember this was working for sometime after renaming it to AutoGroup....


I dont know what could have gone wrong..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 500 - No action instance for path