1. Problem performance
RuoYi framework, verification code cannot be loaded
2. Problem analysis
1. The console reports an error
2. View the problem
It Could not initialize class sun.awt.Win32FontManager
can be seen that it should be caused by the lack of fonts in the JDK.
Three. Solve the problem
Open the JDK, font directory C:\work\java\jdk1.8.0_131\jre\lib\fonts
, and add fonts. Restart the project and solve the problem.