Common Failures in Maven Project Source Code Porting
For details about how to handle common failures, see Table 1.
Failure |
Possible Cause |
Handling Suggestion |
||||
|---|---|---|---|---|---|---|
JAR parsing exception |
The dependency package contains files with sensitive names. |
Decompress the JAR package and check whether the package includes a file whose file name contains a character string ./, ../, ../../, or ... If any such a file is found, delete the invalid character string or rename the file. |
||||
The package size has exceeded the upper limit. |
|
|||||
The number of files in the package exceeds the upper limit. |
Modify the global.properties file in the config directory of the devkit-migration-plugin-x.x.x-jar-with-dependencies.jar package in the resources directory to increase the upper limit specified by the jar_file_num_limit field. |
|||||
Failed to create a folder. |
Create a folder with the same name as the JAR package in the output directory (specified by -o) and rectify the fault based on the error cause. |
|||||
Failed to obtain drive space information. |
View the logs to determine the cause and then rectify the fault. |
|||||
Decompression failed. |
Decompress the package and rectify the fault based on the error cause. |
|||||
Failed to create a decompression path. |
Create a folder with the same name as the JAR package in the output directory (specified by -o) and rectify the fault based on the error cause. |
|||||
The file does not exist. |
View the logs to determine the cause and then rectify the fault. |
|||||
The dependency package has exceeded half of the remaining drive space. |
Expand the drive capacity or clear the drive space. |
|||||
Failed to analyze the module. |
The com.ruoyi:ruoyi-common:jar:4.7.9 file on which the ruoyi-system project depends does not exist in the local repository or central repository. The error information is as follows:
|
|