spring boot configuration annotation processor not found in classpath
Description:
Field girlProperties in com.imooc.HelloController required a bean of type 'com.imooc.GirlProperties' that could not be found.
Action:
Consider defining a bean of type 'com.imooc.GirlProperties' in your configuration.
誰知道是為什么呀?
2020-12-20
這個(gè)怎么解決啊
2019-12-11
spring-boot-configuration-processor加了這個(gè)依賴,鼠標(biāo)也能點(diǎn)進(jìn)去查看,但是右側(cè)maven那里卻顯示沒有加載下來
2018-02-17
2018-01-02
親測有效,那些說沒用的同學(xué)你確定你其他地方?jīng)]有出錯(cuò)?
在pom.xml導(dǎo)入依賴
2017-12-30
我從C#轉(zhuǎn)java? 目前在自學(xué),遇到了一樣的問題,在pom.xml中添加dependency也是不行
2017-12-26
一樣,黑色變成了紅色,還是報(bào)錯(cuò)
2017-12-19
.....這個(gè)問題是那個(gè)girlProperties類沒注入到Spring容器里,需要在該類上添加注解@component。
2017-12-18
加了依賴之后也只是提示從紅色變成了黑色,并沒有消失,你的消失了嗎
2017-08-19
添加依賴之后怎么弄啊?
2017-04-13
只需要在pom.xml添加一個(gè)依賴,如下:
<dependency>
? <groupId>org.springframework.boot</groupId>
? <artifactId>spring-boot-configuration-processor</artifactId>
? <optional>true</optional>
</dependency>