错误:logback XXXXXX
原因:Springboot启动logback与slf4j的jar冲突:直接在project struct里把logback相应的jar包删除
相关文章:https://blog.csdn.net/x4609883/article/details/80842155
错误:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
原因:1.Springboot 默认设置无法编译.xml文件,需要把xml文件拷贝到target中,或pom设置编译
2.mapper与xml 的namespace文件名称不对应,方法名找不到
3.没有添加@MapperScan("xxx.xxx.xxx")
4.没有在yml配置文件配置mapper-locations: classpath*:com/xxx/mapper/*Mapper.xml
相关文章:http://210.org.cn/newslist/2020-12-17/12-57-22.html#
错误:springboot+mybatis-plus映射list All elements are null
原因:是实体与数据库映射不上导致的,看一下自己实体的变量是否有用下划线,改成驼峰(自己看了半天愣是把这个事忽略了)
Intellij IDEA Cannot resolve symbol XXX 问题解决办法汇总:https://blog.csdn.net/dyy0213/article/details/78082513
idea中@Data标签getset不起作用:https://blog.csdn.net/seapeak007/article/details/72911529
maven-clean之后 spring boot 启动报错:找不到或无法加载主类 com.xxx.xxx.xxx.Application: 直接rebuild project
错误:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
原因:没有配置数据库
相关文章:https://www.cnblogs.com/wangshichang/p/11418818.html
Navicat for MySQL客户端启动报missing required library libmysq_e.dll126错误:
https://blog.csdn.net/weixin_38250126/article/details/79073522
Junit单元测试:https://haokan.baidu.com/v?vid=843917372367253607&pd=bjh&fr=bjhauthor&type=video
单元测试报错:NullPointerException
https://blog.csdn.net/weixin_43085797/article/details/106061550
@Transient使用:https://blog.csdn.net/rongxiang111/article/details/86476028
微服务通信:https://blog.csdn.net/u014590757/article/details/79519437
Springboot+Mybatis Map驼峰映射:https://my.oschina.net/u/2278977/blog/1795969
Springboot--表单验证@Valid:https://www.cnblogs.com/WHL5/p/9242906.html
Feign报错:No fallback instance of type class xxx found for feign client XXX问题解决:
1.未加@component、2.配置项未完成:https://blog.csdn.net/Lcxy_Demo/article/details/88030862
SpringBoot banner(横幅)自定义配置:https://www.cnblogs.com/lxwthinker/p/10162267.html
mybatis配置报错(org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)):https://www.jianshu.com/p/a9516bcd3cb0
SpringBoot项目打包部署到tomcat:
https://www.cnblogs.com/hellxz/p/8767841.html
https://www.cnblogs.com/jpfss/p/9042249.html
设置开放跨域请求:三种办法:使用nginx转发、添加@CrossOrigin注解、response 添加 header
https://blog.csdn.net/yao940622/article/details/103959076
解决使用@CrossOrigin注解后仍然不能跨域访问的问题:
@CrossOrigin(allowCredentials = "true")