While attempting to obfuscate my application running on java 17.0.1 consisting of a single jar that uses several other libraries I get at the end the below error:
…
Reading library directory [R:\yx\ixanos_installer\lib\oracle\oracle_9i] (filtered)
Reading library directory [R:\yx\ixanos_installer\lib\siebel\18_12] (filtered)
Reading library directory [R:\yx\ixanos_installer\lib\siebel\8_0_0_8] (filtered)
Initializing…
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Exception in thread “main” java.lang.ExceptionInInitializerError
at proguard.classfile.util.DynamicMemberReferenceInitializer.(DynamicMemberReferenceInitializer.java:87)
at proguard.Initializer.execute(Initializer.java:246)
at proguard.ProGuard.initialize(ProGuard.java:327)
at proguard.ProGuard.execute(ProGuard.java:132)
at proguard.ProGuard.main(ProGuard.java:717)
Caused by: java.lang.UnsupportedOperationException: No class provided, and an appropriate one cannot be found.
at org.apache.logging.log4j.LogManager.callerClass(LogManager.java:573)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:598)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:585)
at proguard.classfile.editor.CodeAttributeEditor.(CodeAttributeEditor.java:113)
… 5 more
Any ideas how to go about it?
Let me know if you need anything else for your analysis
cheers
John