公共模块
- 公共模块,如果有保存
application.properties这些配置文件- 为了避免和使用模块的
resourecs/application.properties出现冲突,需要放在其他可识别的目录 - 比如
resources/config目录下
- 为了避免和使用模块的
报错 Cannot instantiate interface org.springframework.context.ApplicationContextInitializer
- 用了
<dependecyManager>,耦合了 springboot 和 spirng4.x 造成报错,目前解决方法是把后者删了
GenericXmlApplicationContext#refresh() 报错 java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport
- springboot 没有依赖
spring-tx, 另外依赖即可
