Home > Back-end >  Gradle build springboot project, extraction using third-party jar files to the external maintenance,
Gradle build springboot project, extraction using third-party jar files to the external maintenance,

Time:05-26

using gradle build, springboot1.5.6 version interface programs, projects to be called the third party interfaces, third-party interfaces provide jars,
Third-party jar for the convenience of management, need to pick up the third party jar file, after the package as an executable jar, delete executable jar in the third party jar files to the third party jar in a directory server maintenance, run the executable jar, loading the jre extension jar jar and three party, run the executable jar command:
nohup Java - Djava. Ext dirs=$JAVA_HOME/jre/lib/ext:/home/jboss/third - lib - jar CreditReport - exec. Jar
Launch is not an error, the three of the corresponding interface, if the three of the interface with other jar, although these was use the jar has to play to the project of an executable jar, but can't quote, you will be prompted ClassNotFound, if the three of the interface to use other jar are extracted, other interfaces will be submitted to the class, with the various extraction, online configuration method, prompt classes,




CodePudding user response:

The third party depend on gson jar
  • Related