Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Action class not found

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I am having a really strange error. I changed the name of an action class. Afterwards, I changed the name in the struts-config.xml, so that the system knows how to access to the new Action class. However, when the browser must access that action I get a:



I don't know why it can't find it. In struts-config.xml, if I press Ctrl and place the mouse on the Action class, I get a link to the Action class!

Please help, I am sure it is a very silly mistake.
 
Mnau Lubi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved! I cleaned and rebuilt the project and it works now . Just one question, I get a red cross in the project folder, as if I am having an error somewhere in the project but then, there is no folder or package with the red cross. Is there any way to know exactly where the error is?

Thanks
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please ask IDE questions in the IDE forum.

And when you do, it'd be a good idea to mention which IDE you're using, otherwise it's really difficult to give a meaningful answer. In Eclipse, look in the "Problems" tab.
 
reply
    Bookmark Topic Watch Topic
  • New Topic