摘要: Failed to read artifact descriptor for XXXXXX:jar:XXXX.RELEAS 原因是maven的本地仓库没有设置好。在别处拷贝过来的项目会有自己的仓库位置设置。我们需要手动在setting-maven中更改位置 There is more than on 阅读全文
posted @ 2018-05-20 01:46 floatthy 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Spring AOP Aspect Oriented Programming面向切面编程,OOP的延续 横向抽取机制,取代传统纵向继承体系(性能监视、事务管理、安全检查、缓存) OOP? Object-oriented programming面向对象编程 aop使用纯Java实现,不需要专门的编译过 阅读全文
posted @ 2018-05-20 01:42 floatthy 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Bean管理(注解方式) 1、添加注解的依赖包:Spring-aop.jar 2、配置spring的XML文件的引入(查官方源码) 3、开启注解的扫描 <context:component-scan base-pachage=”需要注解扫描的文件目录路径”/> 4、 在注入的类使用注解注入:@Com 阅读全文
posted @ 2018-05-20 01:35 floatthy 阅读(490) 评论(0) 推荐(0) 编辑