网站建设技术团队,2万元自己动手装修房子,网站自助服务建设策划,DW做的网站怎么弄兼容性大家好#xff0c;我是烤鸭#xff1a;
使用 idea 莫名其妙的错误。
无法编译
异常已经 catch 住了#xff0c;提示明显是有问题的。
再看一下 maven install 的结果 Error:(99, 100) java: 无法访问org.springframework.core.env.EnvironmentCapable 找不到org.spr…大家好我是烤鸭
使用 idea 莫名其妙的错误。
无法编译
异常已经 catch 住了提示明显是有问题的。
再看一下 maven install 的结果 Error:(99, 100) java: 无法访问org.springframework.core.env.EnvironmentCapable 找不到org.springframework.core.env.EnvironmentCapable的类文件 Error:(105, 19) java: 无法访问org.springframework.core.AttributeAccessor 找不到org.springframework.core.AttributeAccessor的类文件 Error:(108, 27) java: 无法访问org.springframework.core.AttributeAccessorSupport 找不到org.springframework.core.AttributeAccessorSupport的类文件
进去看一下源码确实是类没找到的但是这个关于异常的提示有点坑啊。 解决方案
其实是没有引入 spring-core 导致的问题。
!-- https://mvnrepository.com/artifact/org.springframework/spring-core --
dependencygroupIdorg.springframework/groupIdartifactIdspring-core/artifactIdversion5.2.0.RELEASE/version
/dependency