• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why is this action not being recognised.

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the following action definition



Its an action that is access from the following form



When i submit the form i get the following error.



I checked everything, the location of the Servlet, the paths, spellings and just cant figure out what is wrong. Any ideas?

[ October 26, 2007: Message edited by: O. Ziggy ]
[ October 26, 2007: Message edited by: O. Ziggy ]
 
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
From the exception stack it seems to me that the class "com.xxx.ccsuk.presentation.events.tasks.UpdateCustomerAmendmentStatusAction" is not available in the classpath.
It has to be present in WEB-INF\classes or WEB-INF\lib (inside JAR) so that webapp can load it.
Regards,
Amit
 
O. Ziggy
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, The file is compiled and is in Web-INF\classes in the correct subdirectory. Im struggling to figuring out what the problem because everything seem to be correct.

Thanks
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

Originally posted by O. Ziggy:
Hi, The file is compiled and is in Web-INF\classes in the correct subdirectory.



Can you please check the if the directory name is "WEB-INF" in case sensitivity ? It can be the problem. Because in your post you have mentioned the name as "Web-INF".

regards,
amit
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are other actions in your application working? If so I would look closely at the spelling and case of your class and package name and make sure they match exactly what is specified in your java file.

- Brent
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<forward name="success" path="/main/viewCustomerAmendments"/>
Try adding .do at the end

<forward name="success" path="/main/viewCustomerAmendments.do"/>

It appears that there is some problem with either your package naming of class naming. Double check your class names. Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic