Corrupted filesStartup Crash: ClassNotFoundException: org.objectweb.asm.ClassVisitor
What it looks like in the log
java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
How to fix it
- 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.
- 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.
- Start the game while connected to the internet so the launcher re-downloads and verifies clean copies of the missing library files.
- 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.
| Loaders | Forge, Neoforge, Fabric, Quilt, Vanilla |
|---|
| Severity | Stops the game |
|---|
| Category | Corrupted files |
|---|
Check your own log