报错信息:
ERROR[restartedMain]o.s.boot.diagnostics.LoggingFailureAnalysisReporter.report:40 -
***************************
APPLICATION FAILED TO START
***************************
Description:
Field sysUserAPI in com.lantu.config.shiro.ShiroRealm required a bean of type 'avicit.platform6.api.sysuser.SysUserAPI' that could not be found.
Action:
Consider defining a bean of type 'avicit.platform6.api.sysuser.SysUserAPI' in your configuration.
解决办法:
XXXApplication页面无法访问的,给XXX-module增加一个配置
步骤如下:
停止XXX-module
Run->Edit Configurations
选择XXX-module
在Working Directory中增加以下配置:%MODULE_WORKING_DIR%
重启IDEA

文章描述了一个SpringBoot应用在启动时由于缺少SysUserAPIbean导致的错误。解决方案是为XXX-module添加配置,具体操作包括在IDEA的Run->EditConfigurations中修改XXX-module的WorkingDirectory,添加配置:%MODULE_WORKING_DIR%,然后重启IDEA。
3674

被折叠的 条评论
为什么被折叠?



