03: Docker Tutorial – Java & Maven with a jar file

This extends the 01: Docker Tutorial – compile & run Helloworld.java. Maven pom.xml

The run.sh file

Create src/main/java folder Maven requires .java files to be in the folder src/main/java folder. So create the folder and move com/myapp/* under…

Members Only Content

Log In Register Home

800+ Java Interview Q&As Menu

Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, Architecture – Distributed, Big Data – Spark, etc. Some posts belong to multiple categories.