Classes from the default package must not be referenced from JSP file less... (Ctrl+F1)
This inspection reports any references to a classes from the default package in JSP files.
Such references will not be resolved during compilation of the JSP because a compiled class for the JSP will be usually placed in non-default package (e.g. "org.apache.jsp" in case of Tomcat, "com.ibm._jsp" in case of WebSphere) but the import from the default package is prohibited in Java
問題解決方法
給類前面加一個包就行,javabeans不能存在於沒有包的環境中被調用