I create a project by the Vert.x starter, use command mvn exec:java
to start.
And when I add the redeploy arguments,
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
<configuration>
<mainClass>io.vertx.core.Launcher</mainClass>
<arguments>
<argument>run</argument>
<argument>--redeploy=src/**/*.java</argument> <!-- just add this line -->
<argument>${main.verticle}</argument>
</arguments>
</configuration>
</plugin>
get a error:
java.lang.Exception: classworlds configuration not specified nor found in the classpath
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:397)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
how to make this Vert.x project support auto redeploy?