maven报错 there is no POM in this directory

晁绍辉
2023-12-01

the goal you specified requires a project to execute but there is no POM in this directory(自己的路径).Please verify you invoked Maven from the correct directory. [Help 1]

解决方案
在IDEA中右键 工程选择–>Open in —>选择 explorer,找到pom.xml文件,在资源文件夹目录打开命令窗口,输入mvn clean install -U 强制刷新maven即可

 类似资料: