当前位置:网站首页>Not registered via @enableconfigurationproperties, marked (@configurationproperties use)
Not registered via @enableconfigurationproperties, marked (@configurationproperties use)
2022-07-06 10:14:00 【Eric-x】
error :Not registered via @EnableConfigurationProperties, marked as Spring component, or scanned via @ConfigurationPropertiesScan
reason : When using @ConfigurationProperties when IDEA This prompt appears at the top :
Solution :
Mode one : Solve through dependency and annotation
1、 Add dependency
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
2、 adding annotations @Component, Declare to add this component to the container 
Solution two : Directly in SpringBoot Annotate the startup class

Reference resources :https://blog.csdn.net/weixin_44495678/article/details/108142287
边栏推荐
- Mexican SQL manual injection vulnerability test (mongodb database) problem solution
- 16 medical registration system_ [order by appointment]
- The appearance is popular. Two JSON visualization tools are recommended for use with swagger. It's really fragrant
- Use xtrabackup for MySQL database physical backup
- A necessary soft skill for Software Test Engineers: structured thinking
- [flask] crud addition and query operation of data
- MySQL real battle optimization expert 11 starts with the addition, deletion and modification of data. Review the status of buffer pool in the database
- C miscellaneous dynamic linked list operation
- 宝塔的安装和flask项目部署
- The replay block of canoe still needs to be combined with CAPL script to make it clear
猜你喜欢

MySQL底层的逻辑架构
![14 medical registration system_ [Alibaba cloud OSS, user authentication and patient]](/img/c4/81f00c8b7037b5fb4c5df4d2aa7571.png)
14 medical registration system_ [Alibaba cloud OSS, user authentication and patient]

Control the operation of the test module through the panel in canoe (primary)

MySQL实战优化高手12 Buffer Pool这个内存数据结构到底长个什么样子?

If someone asks you about the consistency of database cache, send this article directly to him

Use xtrabackup for MySQL database physical backup

MySQL combat optimization expert 03 uses a data update process to preliminarily understand the architecture design of InnoDB storage engine

实现以form-data参数发送post请求

cmooc互联网+教育

软件测试工程师必备之软技能:结构化思维
随机推荐
CANoe CAPL文件操作目录合集
NLP路线和资源
15 医疗挂号系统_【预约挂号】
A necessary soft skill for Software Test Engineers: structured thinking
MySQL实战优化高手11 从数据的增删改开始讲起,回顾一下Buffer Pool在数据库里的地位
CAPL 脚本对.ini 配置文件的高阶操作
Competition vscode Configuration Guide
MySQL Real Time Optimization Master 04 discute de ce qu'est binlog en mettant à jour le processus d'exécution des déclarations dans le moteur de stockage InnoDB.
MySQL实战优化高手02 为了执行SQL语句,你知道MySQL用了什么样的架构设计吗?
Which is the better prospect for mechanical engineer or Electrical Engineer?
Bugku web guide
Inject common SQL statement collation
17 医疗挂号系统_【微信支付】
The real future of hardware engineers may not be believed by you if I say so
CANoe下载地址以及CAN Demo 16的下载与激活,并附录所有CANoe软件版本
Solve the problem of remote connection to MySQL under Linux in Windows
Compress decompress
Several silly built-in functions about relative path / absolute path operation in CAPL script
MySQL ERROR 1040: Too many connections
[Julia] exit notes - Serial