今天在啓動項目的時候控制端一直報錯,報錯如下
報錯內容
WARN:oejw.WebAppContext:Failed startup of context o.m.j.p.JettyWebAppContext {/web,file:/E:/mycode/web_advancement/src/main/webapp/}, file:/E:/mycode/web_advancement/src/main/webapp/org.apache.commons.logging.LogConfigurationException: java.lang.IllegalAccessError: class sun.reflect.GeneratedConstructorAccessor32 cannot access its superclass sun.reflect.ConstructorAccessorImpl (Caused by java.lang.IllegalAccessError: class sun.reflect.Gen……
問題原因
Jetty-servier的版本與jetty-webapp的版本的問題
解決問題
找到系統 的pom.xml
然後把定義的jetty的內容修改一下