I've had a similar problem in the past where a co-worker pulling the project from source control would see action mapping not found errors -- which baffled me because I didn't get them. On deleting my target folder and re-warring, tomcat then picked up the errors. This was because eclipse project=>clean and using maven=>war did not remove the contents of the target folder, leaving DELETED action classes in there. (Maven=>War would package the correctly cleaned contents, but when deployed, the previously deployed files wouldn't be removed first) Our struts.xml's had actions still referring to these classes when they should have been changed to refer to others. In my not-quite-clean environment, these missing classes were erroneously present as described above, while in a clean environment they'd be missing and we'd correctly see action mapping errors.
-----Original Message----- From: piltrafeta [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 9:14 AM To: user@struts.apache.org Subject: Re: [OT] Re: Action mapping not found - eclipse configuration problem??? Hello ! I'm having a similar problem... I had a eclipse project with struts2 and hibernate. It was working fine but one day stop parsing the struts.xml file, and when i execute it says tha my actions are not mapped, even if I modify something in struts.xml file eclipse is not compiling it... So do you have any idea of what is it ? (i have the struts.xml file in the source root directory) Thanks in advandce Musachy Barroso wrote: > > I think the "preview" thing is the option under "Basic" when you click > "Run on Server" and choose to "Manually define a new server". Try > running on tomcat instead. In any case what is happening is that > struts.xml is not on the classpath and the filter is not finding it > > musachy > > > On Feb 18, 2008 1:59 PM, Dave Newton <[EMAIL PROTECTED]> wrote: >> --- Chriss Nold <[EMAIL PROTECTED]> wrote: >> > I am importing the project into eclipse from the .war file with the >> j2ee >> > preview enabled for the target runtime environment. >> >> Not sure what all that is. >> >> What's in your .classpath file? >> >> > Marked as a tomcat project. >> > Context name: /Blank >> > Subdirectory for web app root: /WebContent >> >> What URL are you using? >> >> >> Dave >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Action-mapping-not-found---eclipse-configuration-probl em----tp15551053p17755119.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]