aspose file tools*
The moose likes Struts and the fly likes JAR/Class File Obfuscation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JAR/Class File Obfuscation problem" Watch "JAR/Class File Obfuscation problem" New topic
Author

JAR/Class File Obfuscation problem

Anandharaj Selvaraj
Greenhorn

Joined: Sep 27, 2007
Posts: 2
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...
 
 
subject: JAR/Class File Obfuscation problem