Corrupted files

Startup Crash: ClassNotFoundException: org.objectweb.asm.ClassVisitor

What it looks like in the log

java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor

How to fix it

  1. If you use a third-party launcher like HMCL, open the launcher's download settings and switch the download mirror to Official (or another working mirror) to avoid pulling corrupted files.
  2. Delete the corrupted ASM libraries by using your launcher's 'Delete libraries' / 'Clear cache' management option, or manually delete the .minecraft/libraries/org/ow2/asm/ folder.
  3. Start the game while connected to the internet so the launcher re-downloads and verifies clean copies of the missing library files.
  4. If the error persists, delete the affected game version profile and reinstall Fabric, Forge, or OptiFine directly through your launcher's built-in automatic installer instead of a standalone installer.
LoadersForge, Neoforge, Fabric, Quilt, Vanilla
SeverityStops the game
CategoryCorrupted files

Check your own log

Related errors