模块加载找不到类解决办法

报错信息:

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

模块加载找不到类解决办法_第1张图片

你可能感兴趣的:(java,intellij-idea,java)