我用jspstudy搭建的开发环境。Tomcat版本设置为tomcat 8。
用eclipse导出项目war,解压到D:\JspStudy\tomcat\myweb(参考的配置方式:https://my.oschina.net/jfinal/blog/353062)
启动数据库和tomcat,访问http://127.0.0.1:8080/ 或者http://127.0.0.1:8080/program_name,页面均显示空白。
于是查看日志文件D:\JspStudy\tomcat\logs\localhost.2017-08-31.log
内容如下:
31-Aug-2017 11:38:28.459 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter jfinal java.lang.UnsupportedClassVersionError: com/jfast/core/config/JfastConfig : Unsupported major.minor version 52.0 (unable to load class com.jfast.core.config.JfastConfig) at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2498) at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:860) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.jfinal.core.JFinalFilter.createJFinalConfig(JFinalFilter.java:101) at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:47) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4659) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5281) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
怎么解决?求大神指教。
项目:JFinal