Build completed with 1 error and 0 warnings in 20 ms

Running Idea today, a good-end project actually reported this inexplicable error Build completed with 1 error and 0 warnings in 20 ms.

First check whether there is a problem with the code, then I created a new class, printed a hello, and then still prompted the same error, you can see that there is a problem with the environment.

Then I tried turning off the firewall and restarting Idea.

 

Guess you like

Origin www.cnblogs.com/shun7man/p/12686177.html