springboot项目右上角选择ProjectNameApplication的配置
文章目录
- 项目场景:
- 解决方案:
- 提示:
项目场景:
提示:springboot项目右上角的项目名称应用报错:
项目右上角选择ProjectNameApplication时配置出错
解决方案:
提示:这里填写该问题的具体解决方案:
点击出错的位置,选择【Edit Configurations…】
问题出在了【Main class】
把这里填上就好了
我填的是:
cn.edu.neu.springbootdemo.SpringbootdemoApplication
cn.edu.neu.springbootdemo
:是我项目内蓝色java文件夹下包的名字
Springbootdemo
:是我项目的名字,但是第一个字母是大写的
Application
:翻译过来是应用程序的意思
提示:
我不知道我这个思路对不对,但我确实是这么做的,并且跑通了。。。