分享

IDEA无法成功启动springboot入口类

 Go_Ahead 2018-11-20
控制台日志显示如下几行:
2018-11-20 18:11:26.398  INFO 9404 --- [           main] com.zy.learning.Springboot1Application   : Starting Springboot1Application on TTP-20160907XQO with PID 9404 (D:\workspace\bootstudy\springboot1\target\classes started by Administrator in D:\workspace\bootstudy\springboot1)
2018-11-20 18:11:26.404  INFO 9404 --- [           main] com.zy.learning.Springboot1Application   : No active profile set, falling back to default profiles: default
解决办法:
点击导航 File-Project Structure-Modules-Dependencies
找到 tomcat-embed-core 将其Scope改为compile即可,再次运行成功启动~
 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多