[Package] Eclipse Eclipse executable jar to play third-party packages emerging issues

Use eclipse executable jar package to fight the project, the following directory

 

Right selection export, select Runnable JAR file

Next, select the launch configration main entrance function to be executed, export export address, the third Library handling There are three options:

The first way is to rely on third-party jar package and extract it into a class, and you are placed in accordance with the procedure class unified directory structure

 

The second way the same directory on the third-party jar package jar manner in accordance with the program

 

The third way third-party jar package in the same directory packaged items jar after jar manner in accordance with

 

Question: The first way to extract it undermines the integrity of the jar, problems may arise in the implementation of the project jar, I pack after using the first approach, when executed on the server into a problem arises, hive of jdbc driver loading less than

A second, a third way, problem solving

 

Guess you like

Origin blog.csdn.net/w8998036/article/details/92970492
Recommended