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

后端 未结 9 988
小蘑菇
小蘑菇 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:22

    If you are using spring JPA then make sure you have added the following dependency to pom.xml

    
    org.springframework.boot
    spring-boot-starter-data-jpa
    
    

提交回复
热议问题