Micro Services how to add an external jar to the project

1, the service needs to be introduced in the micro-src external file module jar files in a folder manually create lib folder, as shown below:

2, the packet will need to be introduced into the lib the jar file, as shown below:

 3, check the jar package just copied, right-click: select "Build Path" ------> "Add to Build Path", you can see after the completion of just copied the jar under the "Referenced Libraries" folder package. At this point we can see the jar in front of the pack in a bottle shaped icon, indicating that the jar package has been introduced into the project

 

Guess you like

Origin www.cnblogs.com/chenglijuan1611/p/12526788.html