File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark ""Missing message for key" error!" Watch ""Missing message for key" error!" New topic

"Missing message for key" error!

Dolfino Proteus

Joined: Jan 12, 2010
Posts: 3
Hi all!

I'm making some changes to a web application that uses an file and "<bean:message ..." tag to take labels from it.
I only need to add a label on a jsp page where other labels are used.

I added a key-value pair in the .properties file:

The second line is mine, the first one was there before.
And then I used, of course, the struts tag:

If I use only the first one, it works fine, but when I add my label, it causes a "Missing message for key" error.

I really don't understand. Same .properties file, same syntax and I'm sure that I wrote the keys consinstently... where am I falling?!

Thank you all.
Dolfino Proteus

Joined: Jan 12, 2010
Posts: 3
Blame on me...

I'm developing on Eclipse and I switched off the auto-build feature... obviously every change I made was ignored by the application server that was deploying every time the same sources

Have a nice day all!
I agree. Here's the link:
subject: "Missing message for key" error!
It's not a secret anymore!