Eclipse deploy guns:
1. import -> search maven -> Existing Maven Projects -> select guns root directory
2. Modify the configuration file:
spring
datasource: modify to my own database connection
guns
flowable: modify to my own database connection
muti-datasource: Modify it to my own database connection
3. Start the guns project:
3.1 Run the java file to start
3.1.1 src/java/main/com/stylefeng/guns/GunsApplication
3.1.2 run as -> java application
3.2 Run the jar file to start
3.2.1 Compile and package it into a jar file
a) Find the guns-parent project
b) run as -> maven build -> execute the following command
c) clean package -Dmaven.test.skip=true
3.2.2 Execute the jar file
java -jar guns-admin- 1.0.0-SNAPSHOT.jar
3.3 Run the war file to start
3.3.1 Modify the pom file in guns-admin
packaging -> war
3.3.2 Compile and package it into a jar file
a) Find the guns-parent project
b) run as -> maven build -> execute the following command
c) clean package -Dmaven.test.skip=true
3.3.3 Execute the war file
a) Put the war file in the webapps directory in tomcat Next
b) Change guns-admin-1.0.0-SNAPSHOT.war to ROOT.war
c) Start tomcat to
%TOMCAT_HOME%/bin/startup.bat
eclipse deploy and start guns
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=324533733&siteId=291194637
Recommended
Ranking