java: package sun.net.util does not exist

IDEA starts the project with an error Error: (14, 20) java: The package sun.net.util does not exist
due to the jdk version.
Solution:

According to the version number of 1, uncheck part 2, and choose the corresponding one in part 3 Version number, the effect after modification is as follows:

Finally, click apply to save the settings and restart the project

 

 

Guess you like

Origin blog.csdn.net/xgocn/article/details/128261739