controller仅有无参的构造函数,但报错说我少注入了bean

启动springboot报错
说我controller构造方法需要注入某个bean
但是我controller里面什么都没写 我不知道为啥 默认不就是一个无参数的构造方法

报错信息:
Parameter 0 of constructor in com.hi.queryanalysis.WebController required a bean of type 'com.hi.queryanalysis.framework.DefaultRuntimeApplicationContext' that could not be found.

大神们想想可能是因为神马啊。。想不明白。。

https://blog.csdn.net/xiaoza7/article/details/105470545/

看看你继承了什么类,还有缺少的那个类是干嘛的,缺少的那个应该是你项目自己加的