Strange java.lang.ArrayIndexOutOfBoundsException thrown on jetty startup

后端 未结 4 1256
予麋鹿
予麋鹿 2020-12-03 08:36

Whenever I deploy jetty application I hit this issue. Looks like some jar or class is broken.

  • Colleagues compiling exactly same code, doesn\'t hit
4条回答
  •  清歌不尽
    2020-12-03 08:45

    Use newer version of jetty-maven-plugin.

    More information --> Bug 419801 - Upgrade to asm5 for jdk8

    So, edit your pom.xml like this:

    
        org.eclipse.jetty
        jetty-maven-plugin
        9.3.0.M2
    
    

    Note the groupId is "org.eclipse.jetty".

提交回复
热议问题