File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAR/Class File Obfuscation problem

 
Anandharaj Selvaraj
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Struts Wiz,

Thankz in Advance. i'm having one problem in Obfuscate. i'm using Struts, Tomcat.

i created an struts application and generate a WAR file. And also i generate a JAR File for all my class files. From the WAR File i removed all the class files from the classes folder. i left all the property files (including ApplicationResources) untouched inside the WAR File. All the property files are in the classes folder.

By Using SandMark tool, i Obfuscate the JAR File and now i include the JAR File into the WAR File in Lib folder. After i deployed the WAR File into the Tomcat Server. When i hit the URL, i'm getting the following error.

javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE

In the Struts Config file i specified the Application resource.

If i didn't obfuscate the JAR File, and add the JAR File into the WAR file and deployed, When i hit the URL, it's working fine.

Please help me guys...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic