Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to load PROPERTIES file (Eclipse)

 
Nelo Angelo
Ranch Hand
Posts: 44
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I am using the ESAPI 1.4.4 to generate page which are safe from SQL Injection. The page itself runs fine but it generates a warning when run the first time.




How do I pass the resources folder in ESAPI??
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the output, it appears the the plugin is looking for the properties file in various locations (it even tells you where it is looking!), and cannot find the file in any of those places. (Hopefully this is enough of a hint...)
 
Nelo Angelo
Ranch Hand
Posts: 44
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:From the output, it appears the the plugin is looking for the properties file in various locations (it even tells you where it is looking!), and cannot find the file in any of those places. (Hopefully this is enough of a hint...)


Hi John,

Thanks for the reply. The problem is now resolved. I copied the ESAPI.properties and the validator files in the home directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic