Fix "no main manifest attribute, in app.jar"

Fix the Java error "no main manifest attribute": check MANIFEST.MF online, run the right class, or add Main-Class with Maven, Gradle, Spring Boot or jar.

Step 1: Look at the Manifest (No Java Needed)

Step 2: It's a Minecraft Mod — Don't Run It

Step 3: Run the Main Class Directly

Step 4: Add Main-Class When You Build

Step 5: Spring Boot — Run the Repackaged JAR

Check the Fix

FAQ

Summary