美文网首页
SpringBoot 2.x Error creating be

SpringBoot 2.x Error creating be

作者: 红尘耽搁的佛系少年 | 来源:发表于2018-08-12 23:54 被阅读0次

org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'requestMappingHandlerMapping' defined
in class path resource cn/afterturn/easypoi/WebMvcConfg.class]: 
Invocation of init method failed; 
nested exception is java.lang.ArrayStoreException:
sun.reflect.annotation.TypeNotPresentExceptionProxy

这个问题折腾了我好几个小时去了,感觉要喝点鸡汤补补 。
这个是org.springframework.boot 升级到 2.0版本以后出现的问题

解决的办法如下:
将jdk 改为 1.8以上,以下版本已经不支持了

相关文章

网友评论

      本文标题:SpringBoot 2.x Error creating be

      本文链接:https://www.haomeiwen.com/subject/rfoebftx.html