spring-boot 启动时候 出现异常:The bean 'xxx' could not be injected as a 'xx.xxxx' because it is a JDK dynami
摘要:
@Resource private UmsUserMapper userMapper; 如上代码会报错,这是因为程序中有一个UserMapper,所以当命名为userMapper会首先查找UserMapper这个类而不是UmsUserMapper这个类,改成umsUserMapper程序正常。注入时 阅读全文
摘要:
springboot 关于 Class path contains multiple SLF4J bindings.警告的解决 有一次配置好springboot项目启动后,忽然发现有下边的警告: SLF4J: Class path contains multiple SLF4J bindings. 阅读全文
摘要:
问题1 module间引用 现在我有一个项目,然后里面有三个模块,manager引用了contact的jar包,那如何在调试的时候可以进入contract项目呢,结构如下 在文件–项目结构 菜单下,进入modules 添加一个模块的引用就可以了,打码的那个就是结果 问题2 install项目到本地m 阅读全文