Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stripes error

 
Wesley Baker
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one has really got me frustrated

I am receiving a MissingResourceException error that states:



The StripesResources.properties file is in the WEB-INF/classes folder, and it has all permissions enabled. It also contains the validation.required.valueNotPresent key, so I am at a complete loss as to why Stripes is not seeing the file. I have also tried to remove the file, and the error message DOES change to say it can't find the file, so I know Stripes is seeing it.

To even further frustrate the situation, the validation works perfectly on my local machine when I run the project through Netbeans, but when I deploy it to the production server, I get this error.

I did some Googling and only found one person with this error, and there was no resolution that I could find. HELP!!!
 
Wesley Baker
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
---FIXED---

Must have been some weird classpath issue (most likely PEBKAC), because I placed the file in another directory and manually added that directory to the Glassfish classpath and it works now. Go figure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic