Microsoft
Software
Hardware
Network
Question : ProGuard - ClassNotFoundException
I have an applet (ProjectApplet) that is processed by proguard. When I visit the page holding the applet, I get a ClassNotFoundException.
java.lang.ClassNotFoundExc
eption: com.floorsoft.floorwizard.
client.fw.
project.Pr
ojectApple
t.class
This is my configuration:
-injars "${tomcat.home}/webapps/Fl
oorWizard/
lib/projec
t.jar"
-outjars "${tomcat.home}/webapps/Fl
oorWizard/
lib/sproje
ct.jar"
-libraryjars "${java.home}/lib/rt.jar"
-libraryjars "${java.home}/lib/jce.jar"
-libraryjars "${java.home}/lib/plugin.j
ar"
-libraryjars "${tomcat.home}/common/lib
/ccg_clien
t.jar"
-keep class com.floorsoft.floorwizard.
client.fw.
project.Pr
ojectApple
t
-keep class com.floorsoft.utility.jdbc
.JdbcRepre
sentDml
-keepnames class com.floorsoft.floorwizard.
client.fw.
project.Pr
ojectApple
t
-keepnames class com.floorsoft.utility.jdbc
.JdbcRepre
sentDml
There is a class named ProjectApplet in the jar file in the correct package. Loading project.jar instead of the proguard processed sproject.jar works.
Ideas?
Answer : ProGuard - ClassNotFoundException
Make sure both jars are in the archive attribute
Random Solutions
Multi Homed Windows 2008 Server
HOW TO: remove the Anonymous User from the Everyone Group....
Visual Mapping Software
Active Directory Query - Servers Only - DG
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Migrate from Windows 2003 Domain to New Windows 2008
Need a driver for sm bus controller on Dell d620
bulk collect - amount of return
Windows PFBACKUP can't find my Outlook PST.
Paging with Entity Framework