在spring boot项目中写界面报java.awt.HeadlessException: null的解决方法

NoSuchKey