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
Oracle Forms : How to populate checkboxes dynamically from the database
DataGridView
how to prove power surge damage
SQL Statement to exclude certain criteria
htaccess Partial Query String Rewrite
How to get selected row value from datatable in JSF ?
Need to monitor specific events in SCOM 2007 R2
Command to remove #'s from a text file
Need to recover partition
Grant Power User permissions to users in a container