Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find message resources under key org.apache.struts.action.MESSAGE

 
Navgire Parikshit
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!

i have put MessageResouces.properties file in WEB-INF/classes.
My struts-config looks like following

Everything seems correct but still i get this exception : Cannot find message resources under key org.apache.struts.action.MESSAGEI am using eclipse IDE. Can anyone give me some pointers ???
 
Jaimesh M Ponkia
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put the resource file in your java source folder so that it gets copied everytime a build happens.

Also, verify if the resource file is getting copied correctly to the deployment folder in your workspace.

".metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps"
 
Navgire Parikshit
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaimesh,
I checked the deployment folder and the file does get copied there. I also tried to keep resource file in the src folder. But nothing worked. Could this be the issue of STRUTS version? I checked the STRUTS.jar file. I didn't get the Message class in the package org.apache.struts.action
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic