Maven reports a timeout exception when loading dependencies, since by default it is 60,000, but in my case I need to increase it because (the environment in which I work has installed an intermediate server that first uploads the entire file to its own server and my machine will get that downloaded file from this intermediate server). Now here comes the problem if the dependency is too large, it just takes more than 60,000 milliseconds, and then eclipse eclipse with the following exception.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html
After 60,000 no response was received, this line creates problems.
As a solution:
I am using settings.xml with the following settings
<settings> <servers> <server> <id>central</id> <configuration> <timeout>120000</timeout> </configuration> </server> </servers> </settings>
while I'm sure that the path to settings.xml is correct.
Unfortunately this will not work.
source share