No plugin found for prefix 'jetty' in the current project

Compilation of my module is done and when trying to run using mvn jetty:run command in my cmd it says: [ERROR] No plugin found for prefix ‘jetty’ in the current project and in the plugin groups [org.openmrs.maven.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\nisch.m2\repository), openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public), openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/), central (https://repo.maven.apache.org/maven2)] -> [Help 1]

1 Like

Have a look here https://wiki.openmrs.org/display/docs/OpenMRS+SDK to make your module run on OpenMRS platform. You cannot directly compile your module and use mvn jetty:run. This error is occuring because there is no plugin for jetty in pom.xml file of your module.

1 Like

You need to run that command from the webapp folder.

3 Likes