使用IDEA发布tomcat时出现java.lang.NoSuchMethodException: org.glassfish.tyrus.server.TyrusServerConfiguration.<init>()
这是因为使用的项目使用的JDK版本和tomcat的版本不匹配导致的。
参考官网http://tomcat.apache.org/whichversion.html
上图可以推出使用的tomcat对应最低版本的JDK版本,也可看出使用JDK版本大概需要的tomcat版本。
楼主是因为使用了JDK12,tomcat8.5出现的错误,正确的版本对应是:JDK12要配tomcat9