No plugin found for prefix 'spring-boot' in the current project




Asked on September 13, 2023
I am running my spring boot application using below command in command prompt.

mvn spring-boot:run

Getting error as
No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local , central (https://repo.maven.apache.org/maven2)]



Replied on September 13, 2023
One reason of this error can be that the command "mvn spring-boot:run" is not finding pom.xml file.
It is possible that you are not running command from root directory of the project.



Replied on September 13, 2023
Got it. Thanks.

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us