一.Unable to process Jar entry [module-info.class] from Jar
Means: The exception means that this java module cannot be processed. It is because the imported jar package cannot be compiled or executed in the current environment
Solution: Modify the pom file, change the corresponding jar package version or increase the version of jre, jdk or tomcat
2. Solution to the java port number being occupied
method 1:
1. windows+R opens the dos window
2. Find the process corresponding to the port number
netstat -ano|findstr 3306 (3306 is the port number)
3. Use the taskkill command to kill the process based on the PID found in the previous command (/t means to kill the current process and its child processes /f means to force the process to be killed)
taskkill /t /f /pid PID
Method 2:
Directly modify the port number and restart tomcat
三.[Error Code]:RequestTimeTooSkewed, [Message]:The difference between the request time and the current
When uploading files with minio, an error is always reported: the difference between the request time and the server time is too large.
It means that the time difference between the client and the server is more than 3 minutes
Solution:
To modify the time, just adjust the time of the client and the server to be the same, for example:
My virtual machine system is Centos7, just open the virtual machine and set the modification time.
Four.java.io.FileNotFoundException: D:\MinIo\upload\chunk0 (Access denied.)
The reason is that the file path you set locates a directory that cannot be read. The solution should be to locate the path to a file.