Spring boot error:java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy

后端 未结 9 968
小蘑菇
小蘑菇 2020-12-05 17:59

I want to use spring boot to start my application ,but after i add some relative jar at pom.xml,it return this error:and i thank may be it caused by some conflict jars?

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 18:13

    I had the very same exception but my spring-boot-starter-parent was version 1.3.3, as below

    
        org.springframework.boot
        spring-boot-starter-parent
        1.3.3.RELEASE
    
    

    The exception showd up as I was upgrading to 1.4.1

    The solution for me was

    I had to lose the bad dependency:

    
            org.springframework.ws
            spring-ws-core
            2.1.4.RELEASE
    
    

    And replace it with the dependency below as per the Release notes of Spring Boot 1.4.0

     
          org.springframework.boot
          spring-boot-starter-web-services          
     
    

提交回复
热议问题