Failed to load ApplicationContext caused by ArrayIndexOutOfBoundsException in ClassReader

后端 未结 5 1268
無奈伤痛
無奈伤痛 2020-12-06 18:48

When I am running junit test class the below exception arises? How can i resolve this?

Failed to load ApplicationContext
java.lang.IllegalStateException: Fai         


        
5条回答
  •  没有蜡笔的小新
    2020-12-06 19:28

    You have not stated which JDK you are using. If you are using 1.8 then you might find that you will need to upgrade Spring to 4 (or 3.2.9+ as yurez has pointed out).

    See the answer to this question: Java 1.8 ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet

提交回复
热议问题