It's not a secret anymore!
The moose likes Struts and the fly likes Problems with PropertyMessageResource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problems with PropertyMessageResource" Watch "Problems with PropertyMessageResource" New topic

Problems with PropertyMessageResource

Ingo Weissmann

Joined: Sep 01, 2003
Posts: 1
Hi all,
I'm a neewbie to struts and try to create an application based upon
struts-blank. I added some key-value pairs for
and currently try only to use a welcome page and a simple login.
But I get some nasty error like ClassNotFoundException for
'Property Message Ressource Factory'.
There is only one struts application is running in the webapps.
The path to ApplicationResources is valid.
I'm trying to get this stuff running til 2 weeks and don't know
where else to look...

Can someone please help me?

Here is my web.xml and my struts-config:

<!-- Standard Action Servlet Configuration (with debugging) -->

<!-- Standard Action Servlet Mapping -->

<!-- The Usual Welcome File List -->

-- struts-config ----------------------------
<form-bean name="loginForm" type="com.zf.qdb.login.LoginForm"/>
<forward name="login" path="/login.jsp"/>
<forward name="success" path="/login.jsp"/>
<forward name="confirmation" path="/login.jsp"/>
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
The message-resources element s'd be present in the struts-config.xml.
To start off with lets just keep it the WEB-INF/classes folder. Later
you can move it to a different place.
Am not sure if you have an entry like this in your struts-config.xml file.

Then you can drop the into the WEB-INF/classes folder. Btw, now i notice this
'Property Message Ressource Factory' in your post..It is in struts.jar
Hope it is present in your WEB-INF/LIB.
Do not change the directory structure on struts-blank web application.
jQuery in Action, 3rd edition
subject: Problems with PropertyMessageResource
It's not a secret anymore!