java.lang.UnsupportedClassVersionError:不支持的major.minor版本51.0(无法加载类org.eclipse.core.runtime.Platform)

时间:2016-01-27 07:48:37

标签: java tomcat7 birt

我正在尝试使用tomcat部署birt运行时。我收到了以下错误

  

org.apache.catalina.core.StandardContext listenerStart SEVERE:   将上下文初始化事件发送到侦听器实例的异常   class org.eclipse.birt.report.listener.ViewerServletContextListener   因为java.lang.UnsupportedClassVersionError:   org / eclipse / core / runtime / Platform:不支持的major.minor版本   51.0(无法加载类org.eclipse.core.runtime.Platform)           在org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2908)           在org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1173)           在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1681)           在org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)           在org.eclipse.birt.core.framework.jar.ServicePlatform.getExtensionRegistry(ServicePlatform.java:72)           在org.eclipse.birt.core.framework.jar.ServicePlatform.createFactoryObject(ServicePlatform.java:98)           在org.eclipse.birt.core.framework.Platform $ 1.run(Platform.java:297)           at java.security.AccessController.doPrivileged(Native Method)           在org.eclipse.birt.core.framework.Platform.createFactoryObject(Platform.java:293)           at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:338)           在org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1023)           at org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)           在org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)           at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)           在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)           在org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1559)           在org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1549)           at java.util.concurrent.FutureTask $ Sync.innerRun(FutureTask.java:303)           在java.util.concurrent.FutureTask.run(FutureTask.java:138)           at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:886)           at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:908)           在java.lang.Thread.run(Thread.java:662)

我检查了运行时和编译时的java版本。两者都指向相同的版本 但我仍然得到同样的错误 有人,可以帮我解决一下吗?

0 个答案:

没有答案