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
SQL query on a financial reporting table
couple of things missing from Exchange 2010?
Using SpamAssassin's Command-line Spam Score Test
WMIC Get Hard drive serial number
Windows 2008 64bit system showing only 4GB usable...
IIS host header and DNS
website
How do I register Exchange 2010 with Windows Server Backup on Windows Server 2008 R2
Exchange 2003 - new Server - still routing through old smtp virtual server
get latest file in the directory in unix