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不能存在于没有包的环境中被调用