Current location - Health Preservation Learning Network - Healthy weight loss - The springBoot project replaced the dependent jar package that could not open nested items under lib&; amp#39; man
The springBoot project replaced the dependent jar package that could not open nested items under lib&; amp#39; man
Question:

After the springboot project replaced the dependency package under lib with compression software, it began to report errors. The contents of the error report are as follows:

Reason:

When a jar package is replaced or imported, the jar package is automatically compressed, and springboot stipulates that nested jar packages cannot be stored under compressed conditions.

Solution (this article takes upgrading ojdbc package as an example):

Decompress the jar package with jar command, replace the jar package outside the compressed package, and then compress it.

Step 1: Unzip the jar package jar -xvf *.jar.

Step 2: Replace the jar package

Step 3: recompress the jar.