Java.lang.NoSuchMethodException occur when using IDEA release tomcat: org.glassfish.tyrus.server.TyrusServerConfiguration <init> ().

This is because the JDK version and the version of tomcat project uses does not match the use of lead.

Reference official website http://tomcat.apache.org/whichversion.html

 

The figure can be introduced JDK version of tomcat corresponds to the minimum version can also be seen using tomcat version JDK version is probably needed.

The landlord is because of the use JDK12, tomcat8.5 error occurs, the correct version of the correspondence is: JDK12 to go with tomcat9

 

Guess you like

Origin www.cnblogs.com/bai-136451825/p/11374677.html