Some time now I had a problem with running a dynamic web app project in eclipse as a web application (right click on project name and then RUN AS > RUN ON SERVER).
I had mostly spring enabled applications and the problem was that the application-context.xml file was not deployed in tomcat (in the webapps directory of tomcat, not the workspace direcory). The reason was that the xml file, and all other xml files were not copied in the build (in most cases bin) directory by eclipse. I couldn't find the reason for that.
After searching in internet I found this thread . I don't have the TPTP project installed in my eclipse, so I don't think that this is the reason. Another thread here.
The solution is simple although I don't know if there are any side effects.
"Change the Java/Compiler/Building preference, and remove *.xml from the filtered resources."
And that worked... at last.
Tuesday, June 9, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment