Java更新以後,Eclipse項目(javaweb、maven、springboot)運行時報錯java
ERROR c.r.f.w.e.GlobalExceptionHandler - [handleException,73] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class java.awt.Font
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class java.awt.Fontweb【項目名】右鍵--【properties】--【java build path】--【libraries】--【jre system library [...] 】報錯 -- 選中 --【remove】--【add library】--【jre system library】--【next】--【workspace default jre (...)】--【finish】spring
仍是報錯=。=springboot
貌似是字體的東西,致使框架的驗證碼圖片加載不出來。而後重啓一下eclipse不知道怎麼就行了。orz框架
Java更新以後,Eclipse運行程序時提示 沒法找到Java可執行文件eclipse
字符串之間判斷用.equals,不能用==maven
字符串a=字符串b1 String a; 2 String b; 3 if(a.equals(b)){...}