Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

Unable to run with maven cargo

$
0
0

My project is using maven cargo command to build and deploy into Tomcat8

this is the original command in my .bat :
mvn compile war:inplace cargo:run -P inplace,tomcat

I followed two articles :
1.https://manuals.zeroturnaround.com/jrebel/standalone/maven.html
2.https://manuals.zeroturnaround.com/jrebel/standalone/launch-from-command-line.html (tomcat part)

added maven plugin into pom.xml, and change the command in my .bat file to this:
<—-
call mvn compile war:inplace -Djrebel cargo:start -P inplace,tomcat
call %CATALINA_HOME%/bin/catalina_Jrebel.bat run
—->

The maven cargo deploy success, and I can see Jrebel banner, and some JRebel Monitoring stuff…. but my project just can’t start, the command line just stops with some message “build up took 12345ms…” and when I refresh my browser, it’s empty, totally white page. When I switch back to old command, it works fine. Any clues?


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>