可以通过右键单击“项目资源管理器”中的 JSP 页面并选择验证来验证 JSP 文件中的代码。“JSP 验证器”使用现有的 WebSphere 技术来验证项目中的 JSP 文件,通过将这些文件转换为相应的 Java™ 代码,然后检查 Java 代码中的编译错误来进行。
JavaCompile: cannot access SpeciesSpeciesIDBean; bad class file D:\...\WEB-INF\classes\...\SpeciesSpeciesIDBean.class; class file has wrong version 48.0, should be 47.0; please remove or make sure it appears in the correct subdirectory of the classpath.