惠特曼

关注

Spring 项目运行提示错误 Not a managed type

惠特曼

关注

阅读 68

2023-04-01

在启动 Spring 项目的时候提示下面的错误信息。

 

Spring 项目运行提示错误 Not a managed type_错误信息

 

问题和原因

这个问题的原因是你的类没有在 Spring 管理的容器中注册。

主要原因是上面的包的路径不正确。

 

Spring 项目运行提示错误 Not a managed type_重启_02

 

修改上面的包的路径后重启服务就可以解决启动的时候对象没有注册的问题。

 

相关推荐

萧萧雨潇潇

Spring 项目启动错误提示 LoggingApplicationListener

萧萧雨潇潇 115 0 0

吴wuwu

Spring Boot 运行的时候提示日志错误

吴wuwu 29 0 0

大柚子top

【Spring常见错误】No qualifying bean of type

大柚子top 224 0 0

止止_8fc8

运行程序提示路径错误?

止止_8fc8 36 0 0

Python芸芸

Spring 测试运行的时候提示 Unable to find a @SpringBootConfiguration 错误

Python芸芸 171 0 0

往复随安_5bb5

解决前段项目运行提示:Syntax Error TypeError token.type.endsWith is not a function 问题

往复随安_5bb5 41 0 0

Villagers

JDBC Connection XXX will not be managed by Spring

Villagers 134 0 0

elvinyang

spring注入bean错误-Bean named 'abc' is expected to be of type 'AAA' but was actually of type 'BBB'

elvinyang 48 0 0

快乐与微笑的淘气

Spring项目中500错误

快乐与微笑的淘气 74 0 0

犹大之窗

Flutter错误type 'Null' is not a subtype of type 'Handler'

犹大之窗 25 0 0

精彩评论(0)

0 0 举报