起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2482|回复: 1

[分享] 编码: JUSTEP000016 /UIServer/UI2/index.html"出错

[复制链接]

8

主题

27

帖子

79

积分

初级会员

Rank: 2

积分
79
QQ
发表于 2016-9-26 15:06:18 | 显示全部楼层 |阅读模式
UIServer错误

URI:/x5/UI2/v_3dff101e423c43b69163122f6a8e42d7l_zh_CNs_desktopd_pc/index.html

错误码:500

错误信息:

com.justep.ui.exception.UIException: 编码: JUSTEP000016; 提示: 读取文件"/Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html"出错
隐藏错误详细

com.justep.ui.exception.UIException: 编码: JUSTEP000016; 提示: 读取文件"/Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html"出错
        at com.justep.ui.exception.UIException.create(Unknown Source)
        at com.justep.ui.WindowCompiler.loadWindow(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 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.exception.UIException: com.justep.ui.exception.ValidationException: line 10, column 80 of file:///Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html: Fatal error: The reference to entity "skin" must end with the ';' delimiter.
file:///Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html, line 10, column 80: Fatal error: The reference to entity "skin" must end with the ';' delimiter.
        at com.justep.ui.xml.XMLUtils.inputSourceToSAX(Unknown Source)
        at com.justep.ui.xml.XMLUtils.inputStreamToSAX(Unknown Source)
        ... 22 more
Caused by: com.justep.ui.exception.ValidationException: line 10, column 80 of file:///Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html: Fatal error: The reference to entity "skin" must end with the ';' delimiter.
file:///Users/fengyp/Documents/WeX5_V3.5-mac/apache-tomcat/webapps/../../runtime/UIServer/UI2/index.html, line 10, column 80: Fatal error: The reference to entity "skin" must end with the ';' delimiter.
        at com.justep.ui.xml.XMLUtils$ErrorHandler.fatalError(Unknown Source)
        at orbeon.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
        at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:351)
        at orbeon.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:281)
        at orbeon.apache.xerces.impl.XMLScanner.reportFatalError(XMLScanner.java:1459)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1258)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1717)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
        at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
        at orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
        at orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
        at orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
        ... 24 more

8

主题

27

帖子

79

积分

初级会员

Rank: 2

积分
79
QQ
 楼主| 发表于 2016-9-26 15:09:33 | 显示全部楼层
Wex5 v3.5默认编译生成的index.html文件在部分运行环境下报错。
经分析,原版本的index文件如下:

<html>
        <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
       
        </head>
        <body style="color:gray;margin:0px;text-align:center;padding-top:20%">
                正在努力加载中......
                <script type='text/javascript'>
                        var url = 'v_5113_nol_zh_CNs_d_m/study/SHContact/index.w?language=zh_CN&skin=';
                        var search = window.location.search;
                        if (search){
                                if (url.indexOf("?") != -1){
                                        url += "&";
                                }else{
                                        url += "?";
                                }
                                url += search.substr(1) + window.location.hash;
                        }
                        window.location.href= url;
                </script>
        </body>
</html>



需将文件当中的“&”字符修改为“&amp;”,修改后如下:

<html>
        <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
       
        </head>
        <body style="color:gray;margin:0px;text-align:center;padding-top:20%">
                正在努力加载中......
                <script type='text/javascript'>
                        var url = 'v_5113_nol_zh_CNs_d_m/study/SHContact/index.w?language=zh_CN&amp;skin=';
                        var search = window.location.search;
                        if (search){
                                if (url.indexOf("?") != -1){
                                        url += "&amp;";
                                }else{
                                        url += "?";
                                }
                                url += search.substr(1) + window.location.hash;
                        }
                        window.location.href= url;
                </script>
        </body>
</html>


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-24 05:48 , Processed in 0.111157 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表