Java unusual collection of posts

I have never understood why some programmers are so popular. Until recently, every time the code was updated from svn, they couldn’t run. A lot of time was wasted. I checked what they did and didn’t find the problem. Just got

1.Java servlet package conflict.

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String;)V

Solution: Remove the redundant jar packages. Because I use spring boot+thymeleaf, these jar packages are not used at all, so I deleted all the jars about jsp.

Guess you like

Origin blog.csdn.net/qq_35189120/article/details/88388867