Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve the 'Unable to find Asm for stackmap generation' error on startup of STS?

I am trying to use the Spring Tool Suite 3.8.3 on Ubuntu 16.04. Upon startup I get this error:

An internal error occured during: "Initializing Java Tooling"

with the detailed message:

An internal error occurred during: "Initializing Java Tooling". Unable to find Asm for stackmap generation (Looking for 'aj.org.objectweb.asm.ClassReader'). Stackmap generation for woven code is required to avoid verify errors on a Java 1.7 or higher runtime when weaving type org.eclipse.jdt.core.search.SearchPattern when weaving classes when weaving

I have to admit that I have no idea what I should do here and I failed to find any pointers online. Any advice or hint is welcome.

like image 205
Martin Drozdik Avatar asked Mar 31 '17 13:03

Martin Drozdik


1 Answers

It was for me due to the scala plug-in which I have installed a few days back. Uninstall the scala plugin and change to JDK 8 or JDK 11 it will work.

like image 77
iammallikarjuna Avatar answered Dec 01 '22 16:12

iammallikarjuna