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
Citrix XenServer can't mount NFS share
Exchange 2010. Install Failed, now can't uninstall
detect registry change windows ce
redirecting the Notes email into custom email database (not into default Notes email database)
Word 2003 - working with tables, rows, and cells
Outlook not attack shortcut (lnk) attach directly the file
SAP books for implementing ERP package
Droid Incredible Exchange Synchronization
RAID 1
Logon failure when trying to launch an application