• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

JAR/Class File Obfuscation problem

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
reply
    Bookmark Topic Watch Topic
  • New Topic