摘要:
原文:Internal error in the mapping processor: java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "resource" is null a 阅读全文
posted @ 2021-12-13 14:24
subtlman
阅读(1202)
评论(24)
推荐(0)
摘要:
@Configuation总结 @Configuation等价于<Beans></Beans> @Bean等价于<Bean></Bean> @ComponentScan等价于<context:component-scan base-package=”com.dxz.demo”/> 参考链接:http 阅读全文
posted @ 2021-12-13 11:55
subtlman
阅读(37)
评论(2)
推荐(0)
摘要:
service是业务层,dao是数据访问层,controller是控制层,view是表示层。 面向接口编程,表示层调用控制层,控制层调用业务层,业务层调用数据访问层。 初期也许都是new对象去调用下一层,比如你在业务层new一个DAO类的对象,调用DAO类方法访问数据库,这样写是不对的,因为在业务层 阅读全文
posted @ 2021-12-13 11:13
subtlman
阅读(1244)
评论(1)
推荐(0)

浙公网安备 33010602011771号