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
Rehab Dell MD3000i or move to NetApp FAS2020 storage array?
How can I detect a pixel color of an image in Flash using ActionScript 2?
Sharing camcorder footage
Internet Explorer Nonfunctional After IE8 Upgrade
SBS2008 Folder redirections feature stability ?
The fool says in his heart ...
namespace question
Is there any way to limit what the users see in shared calendars in Exchange 2003 / Exchange 2007?
Using VLookup for Data Validation
WebService Client problem