Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat searching for files in a wrong path?

 
Mike Dsa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I am a newbie to Tomcat and Struts.
I am not really sure where to post this issue, but I reckon it was the Tomcat that was throwing the error, so I shall post this problem here.

Okay, now my problem is that when I try to run a sample Struts web application (One that I downloaded from Struts' website), Tomcat throws me an error.


Now, all the above files are located at:
I cannot for the life of me understand why tomcat's not taking into consideration "WEB-INF" part?

All this happens when I am trying to run and execute the sample Struts application through Eclipse.
If I make a "WAR" file out of the same thing and put it manually on the "webapps" folder on the Tomcat server, it works like a charm.
Just that for some reason it doesn't work under eclipse IDE...

I have attached a GIF for you guys.

Please pardon me if I posted it at the wrong forum or didn't write my post properly.

Configurations:
WIN 7, eclipse 3.6, Tomcat 7, Struts 2.

Thank you.
tomcat error.gif
[Thumbnail for tomcat error.gif]
tom
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As this seems to be an issue with IDE setup, it's been moved to the IDEs forum.
 
palla jayakrishna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Greenhorn ,
I also had this kind of issue like

"Publishing failed with multiple errors Resource is out of sync with the file system"

after doing this worked fine

Eclipse produces this message when a file in an Eclipse project is changed outside of Eclipse. To avoid it:

a) Don't change files outside of Eclipse
b) Refresh the workspace/project after changing files outside of Eclipse F5 or
c) Enable Window > Preferences > General > Workspace > Refresh Automatically
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic