spring开发问题
const
温故知新,月末回首
展开
-
java.lang.ClassNotFoundException: org.springframework.expression.ParserContext
缺少包<dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId> <version>5.0.8.RELEASE</version></dependency>或者拷贝jar包原创 2020-09-14 20:59:35 · 293 阅读 · 0 评论 -
The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
使用sts导入工程时出现的错误,eclipse,myeclipse导入工程也会出现这个错误原因:电脑上安装了多个版本的jdk解决:将该项目的jdk删除在导入的项目上右击->properties->Java Bulid Path->Libraries 将jdk删除 -> Apply and close。之后再在导入的项目上右击->properties->Java Bulid Path->Libraries->JRE System Library,原创 2020-07-27 14:31:22 · 1447 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.springframework.aop.TargetSource
spring基于注解方式配置beanCaused by: java.lang.ClassNotFoundException: org.springframework.aop.TargetSource看到这种情况是spring框架中的aop解决方法:导入其jar包原创 2020-07-05 14:44:55 · 555 阅读 · 0 评论