
环境配置
说谎de嘴
这个作者很懒,什么都没留下…
展开
-
Failed to bind properties under ‘spring.redis.lettuce.pool‘ to org.springframework.boot.autoconfigur
总结,再出现这种问题,去查看配置文件的格式是否正确就能解决。出现上面的问题,就是。原创 2022-09-06 11:41:58 · 3146 阅读 · 1 评论 -
[ERROR] Fatal error compiling: 无效的目标发行版: 1.8.0_321
ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project demo: Fatal error compiling: 无效的目标发行版: 1.8.0_321 -> [Help 1]原创 2022-08-03 17:03:12 · 1410 阅读 · 0 评论 -
PageHelper:在系统中发现了多个分页插件,请检查系统配置
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.lang.RuntimeException: 在系统中发现了多个分页插件,请检查系统配置!### Cause: java.lang.RuntimeException: 在系统中发现了多个分页插件.原创 2022-04-24 13:39:26 · 3756 阅读 · 0 评论 -
@Component 和 @Bean 区别
1、@Component注解表明一个类会作为组件类,并告知Spring要为这个类创建bean。@Component //用在类上,告诉这个类交给spring管理public class Student { private String name; public String getName() { return name; } public void setName(String name) { this.name = name;原创 2022-03-20 10:19:29 · 1675 阅读 · 0 评论 -
A component required a bean of type ‘com.gao.spting_test.dao.GoodsTypeDao‘ that could not be found.
这个问题的解决:先看问题***************************APPLICATION FAILED TO START***************************Description:A component required a bean of type 'com.gao.spting_test.dao.GoodsTypeDao' that could not be found.Action:Consider defining a bean of type原创 2022-03-11 13:53:17 · 679 阅读 · 2 评论 -
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
***************************APPLICATION FAILED TO START***************************Description:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable dr原创 2022-03-11 09:48:43 · 354 阅读 · 0 评论