|
在Windows版本下运行没问题,在Mac版本下运行,访问的时候报编码: JUSTEP000051。请问是什么原因呢???有什么解决办法呢?
控制台信息如下:- 2019-10-06 19:31:09 开始-WINDOW生成中间文件: /UI2/portal/sgc/index.w
- 2019-10-06 19:31:09 编码: JUSTEP000051; 提示: 解析组件"$model/UI2/system/components/justep/window/window"出错, 解析java格式的模板时出错
- javax.servlet.ServletException: com.justep.ui.component.ComponentException: 编码: JUSTEP000051; 提示: 解析组件"$model/UI2/system/components/justep/window/window"出错, 解析java格式的模板时出错
- at com.justep.ui.servlet.MainServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.justep.ui.component.ComponentException: 编码: JUSTEP000051; 提示: 解析组件"$model/UI2/system/components/justep/window/window"出错, 解析java格式的模板时出错
- at com.justep.ui.component.ComponentException.create(Unknown Source)
- at com.justep.ui.component.ComponentEngine.buildJavaTemplateClass(Unknown Source)
- at com.justep.ui.component.ComponentEngine.processServerTemplate(Unknown Source)
- at com.justep.ui.component.ComponentEngine.parser(Unknown Source)
- at com.justep.ui.component.ComponentEngine.execute(Unknown Source)
- at com.justep.ui.WindowCompiler2.w2Middle(Unknown Source)
- at com.justep.ui.WindowCompiler2.compile(Unknown Source)
- at com.justep.ui.WindowServer2.compileWindow(Unknown Source)
- at com.justep.ui.WindowServer2.service(Unknown Source)
- ... 20 more
- Caused by: java.lang.UnsupportedClassVersionError: Window : Unsupported major.minor version 52.0
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at com.justep.classloader.JustepURLClassLoader.a(Unknown Source)
- at com.justep.classloader.JustepURLClassLoader.a(Unknown Source)
- at com.justep.classloader.b.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at com.justep.classloader.JustepURLClassLoader.findClass(Unknown Source)
- at com.justep.classloader.Model$b.findClass(Unknown Source)
- at com.justep.classloader.Model$a.b(Unknown Source)
- at com.justep.classloader.Model$a.a(Unknown Source)
- at com.justep.classloader.Model.getModelClass(Unknown Source)
- ... 28 more
- 十月 06, 2019 7:31:09 下午 org.apache.catalina.core.StandardWrapperValve invoke
- 严重: Servlet.service() for servlet main-servlet threw exception
- java.lang.UnsupportedClassVersionError: Window : Unsupported major.minor version 52.0
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
- at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
- at com.justep.classloader.JustepURLClassLoader.a(Unknown Source)
- at com.justep.classloader.JustepURLClassLoader.a(Unknown Source)
- at com.justep.classloader.b.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at com.justep.classloader.JustepURLClassLoader.findClass(Unknown Source)
- at com.justep.classloader.Model$b.findClass(Unknown Source)
- at com.justep.classloader.Model$a.b(Unknown Source)
- at com.justep.classloader.Model$a.a(Unknown Source)
- at com.justep.classloader.Model.getModelClass(Unknown Source)
- at com.justep.ui.component.ComponentEngine.buildJavaTemplateClass(Unknown Source)
- at com.justep.ui.component.ComponentEngine.processServerTemplate(Unknown Source)
- at com.justep.ui.component.ComponentEngine.parser(Unknown Source)
- at com.justep.ui.component.ComponentEngine.execute(Unknown Source)
- at com.justep.ui.WindowCompiler2.w2Middle(Unknown Source)
- at com.justep.ui.WindowCompiler2.compile(Unknown Source)
- at com.justep.ui.WindowServer2.compileWindow(Unknown Source)
- at com.justep.ui.WindowServer2.service(Unknown Source)
- at com.justep.ui.servlet.MainServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:745)
复制代码
|
|