目录

问题: 

解决方法: 


问题: 

Idea无右键run选项, 无法通过main方法启动springboot项目

解决方法: 

    1. 找到截图区域

Idea无右键run选项, 无法通过main方法启动springboot项目

    2. 右键, 选择Mark Directory as --> Sources RootIdea无右键run选项, 无法通过main方法启动springboot项目

3. 发现入口类开始报错

Idea无右键run选项, 无法通过main方法启动springboot项目

4. 找到pom.xml, 点击Add as Maven Project

 Idea无右键run选项, 无法通过main方法启动springboot项目

5. 完成

Idea无右键run选项, 无法通过main方法启动springboot项目

相关文章:

  • 2021-05-16
  • 2021-05-03
  • 2021-11-19
  • 2021-10-15
  • 2023-03-19
猜你喜欢
  • 2021-12-31
  • 2022-12-23
  • 2021-11-17
  • 2021-04-14
  • 2021-10-28
  • 2021-05-21
相关资源
相似解决方案