...
If you are running the jetty maven plugin, then you need to tell maven to set the system property com.sun.management.jmxremote before running the plugin. The way to do this is to set the environment variable MAVEN_OPTS. Eg, on unix systems, do:
| Code Block |
|---|
export -DMAVENMAVEN_OPTS=-Dcom.sun.management.jmxremote mvn jetty:run |
...