0

I have a project and I ran it successfully with mvn jetty:run in the command window in windows. Then I tried maven build in eclipse. After that, it says that a build failure occurred and I end up with this kind of message after running mvn jetty:run in my command window.

Maven/NoPluginFoundForPrefixException

what is the reason for this?

jbat100
  • 16,470
  • 3
  • 40
  • 69
DilanG
  • 1,097
  • 1
  • 22
  • 39

2 Answers2

1

In Maven build in Eclipse you do not need to prepend mvn to your command.

Try using jetty:run instead of mvn jetty:run.

Run As > Maven build > Goals : jetty:Run

Kkkev
  • 4,095
  • 4
  • 23
  • 40
Mohit Saluja
  • 470
  • 7
  • 23
0

Try the fully qualified plugin name eg org.mortbay.jetty:maven-jetty-plugin:6.1.22:run

artbristol
  • 30,694
  • 5
  • 61
  • 93