spring - java maven proguard plugin obfuscator -
i'm trying obfuscate java application i'm developing, , decided use proguard maven plugin it.
i solve few problems following proguard configuration:
# don't obfuscate or remove entry point -keep public class com.appspot.main { public static void main(java.lang.string[]); } # supress warnings javax.servlet -dontwarn javax.servlet.** -keepattributes *annotation*,signature,innerclasses
now i'm having following error:
[proguard] note: org.springframework.core.io.support.pathmatchingresourcepatternresolver accesses method 'resolve(java.net.url)' dynamically [proguard] note: there 18 unresolved dynamic references classes or interfaces. [proguard] should check if need specify additional program jars. [proguard] (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass) [proguard] note: there 1 class casts of dynamically created class instances. [proguard] might consider explicitly keeping mentioned classes and/or [proguard] implementations (using '-keep'). [proguard] (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclasscast) [proguard] note: there 15 accesses class members means of introspection. [proguard] should consider explicitly keeping mentioned class members [proguard] (using '-keep' or '-keepclassmembers'). [proguard] (http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember) [proguard] warning: there 370 unresolved references classes or interfaces. [proguard] may need add missing library jars or update versions. [proguard] if code works fine without missing classes, can suppress [proguard] warnings '-dontwarn' options. [proguard] (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass) [proguard] warning: there 16 unresolved references program class members. [proguard] input classes appear inconsistent. [proguard] may need recompile code. [proguard] (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember) [proguard] error: please correct above warnings first.
Comments
Post a Comment