当前位置: 代码迷 >> 综合 >> BeanFactory not initialized or already closed - call 'refresh' before accessing beans via
  详细解决方案

BeanFactory not initialized or already closed - call 'refresh' before accessing beans via

热度:61   发布时间:2023-12-21 15:48:36.0

我所遇到的问题,我这个问题是启动产生的问题

经过一些调试,发现只要有@Controller注解就报错,不注解就无异常。

根据上面是线索,发现@Controller注解出现重命名的问题。



经过对重命名的Controller类进行重命名,正常启动。



  相关解决方案