Proguard code obfuscation for spring boot 3+ maven applications

I am trying to obfuscate an application jar in which the application was developed on Java 17 with Spring boot 3.0.2. Obfuscated jar is getting generated but when I try to start the jar, getting an error like “Unable to find main method.” It looks like for spring boot based projects it is trying to find the main method under
org.springframework.boot.loader.JarLauncher. Please suggest on how to resolve this ?

Hi Team,

Can you please confirm will Proguard supports applications running on spring boot 3 + versions. Any samples config file (.pro) available please share, that would be helpful.

hello pd3o470,
did you find any solution?