Skip to content

Spring Boot WAR fails to start after ProGuard obfuscation (no logs in Tomcat 10) #500

@ICRMS-TStack

Description

@ICRMS-TStack

I’m trying to use ProGuard to obfuscate a Java Spring Boot project in order to make it harder to reverse engineer.

Java version: 21

Spring Boot version: 3.3.0

Packaging: WAR

Server: Tomcat 10

The problem is that after building the WAR with ProGuard and deploying it to Tomcat, the application fails to start. Tomcat shows no Spring Boot logs at all, so it seems like the app isn’t even initializing.

Without obfuscation, the WAR works fine on Tomcat. With obfuscation, it silently fails.

What could be causing Spring Boot to fail after ProGuard obfuscation, and how can I configure ProGuard so the WAR runs correctly on Tomcat?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions