利用@ConfigurationProperties(prefix = "")来绑定属性时报错: not registered via @EnableConfigurationProperties or marked as Spring component   POM依赖     <dependency>         <groupId>org.springframework.boot</groupId>         <artifactI…
报错信息: Description: Failed to bind properties under 'spring.datasource.druid' to javax.sql.DataSource: Property: spring.datasource.druid.filters Value: stat,log4j Origin: class path resource [application.yml]:47:16 Reason: org.apache.log4j.Logger Acti…
idea报错如下: Not registered via @EnableConfigurationProperties or marked as Spring component less... (Ctrl+F1)Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3 解决方法:加上@Component注解…
新建SpringBoot项目运行页面报错Whitelabel Error Page This application has no explicit mapping for /error, so yo 2019年03月25日 16:32:17 叮叮当当0543 阅读数:22   这个错误的出现一般是SpringBoot的启动类(类名上面有@SpringBootApplication注解 )与controller包不在同一个目录下,解决方案就是把启动类和controller包放在同目录下就可以啦.…
springboot 启动的时候报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'solrClient' defined in class path resource [org/springframework/boot/autoconfigure/solr/SolrAutoConfiguration.class]: Bean instantiation via f…
MyEclipse下有main函数类运行报错:Editor does not contain a main type 出现这种问题的原因是,该java文件所在的包没有被MyEclipse认定为源码包.处理方法如下: 1.打开Java Build Path窗口,并选择Source界面: 2.点击 Add Folder,在对话框中选择该类的根级包,后点确定: 3.之后点击确定,等待工作空间build好以后,该项目如下图所示,即为成功: 4.出现文件夹带 “田” 图标的就是成功了,现在就,可以运行改类…
springboot连接MySQL运行报错: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zon…
MyEclipse下有main函数类运行报错:Editor does not contain a main type?出现这种问题的原因是,该java文件   MyEclipse下有main函数类运行报错:Editor does not contain a main type ?出现这种问题的原因是,该java文件所在的包没有被MyEclipse认定为源码包.处理方法如下: 1.打开Java Build Path窗口,并选择Source界面: ?2.点击 Add Folder,在对话框中选择该类…
配置MySQL主从复制报错 ``` Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but thi…
具体报错: AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials o19sm9099443pjr.2 - gsmtp 具体解决方法: 登录gmail生成应用密码,配置到jira email password. 延伸阅读: https://communi…