Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » .properties not loaded from WEB-INF/classes
.properties not loaded from WEB-INF/classes [message #202618] Thu, 18 October 2007 21:55
Eclipse UserFriend
Originally posted by:

A previously working Dynamic Web Module project had its directory
structure reorganized. We moved the WebContent/ folder to

Now .properties files (and only .properties) located in WEB-INF/classes/
are not being found in the classpath for the deployed application.

[altern8@wizzyvm-hci tmp0]$ ls

When I try to start the server from the Servers tab, I see the following: Could not open ServletContext resource

If I copy the file to the project root, the project fires
up as expected:

[altern8@wizzyvm-hci tmp0]$ cp

The project ran fine before, so I am uncertain what I would need to do to
get the application to find .properties files that live under
WEB-INF/classes/. The actual classes that live under WEB-INF/classes/ will
load without a problem.

I am not even sure if this is a Tomcat problem or an Eclipse problem? I am
guessing it is a configuration issue with the webtools plug-in that I

I have found very little documentation on how to move WebContent ->
something else after a project has been created. Maybe if we did it
correctly this problem would clear itself up?
Previous Topic:Preserving text editor caret position
Next Topic:Class property of org.eclipse.wst.validation.validator extension
Goto Forum:

Current Time: Sun Aug 07 23:19:25 GMT 2022

Powered by FUDForum. Page generated in 0.02118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top