可以看出没有选择module,找到Environment 查看use classpath of module 果然没有选择模块,所以要选上WebApplication类所在模块 红色X消实项目正常启动 相关文章: