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

QQ登录

只需一步,快速开始

查看: 2296|回复: 3

[结贴] 浏览文件出错

[复制链接]

11

主题

23

帖子

69

积分

初级会员

Rank: 2

积分
69
QQ
发表于 2017-12-4 21:22:39 | 显示全部楼层 |阅读模式
请问如下图用浏览器打开.w文件时出错是怎么回事呢?如何解决?

捕获.PNG
发表于 2017-12-5 10:52:27 | 显示全部楼层
w文件编译出错了!
你先在这个文件的目录上,右键,模型编译。看下有没有报错信息??
或者切换到源码  ,格式化下代码,是否存在标签格式错误?
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

11

主题

23

帖子

69

积分

初级会员

Rank: 2

积分
69
QQ
 楼主| 发表于 2017-12-5 16:10:44 | 显示全部楼层
liangyongfei 发表于 2017-12-5 10:52
w文件编译出错了!
你先在这个文件的目录上,右键,模型编译。看下有没有报错信息??
或者切换到源码  , ...

是的,模型编译后有出错信息,怎么解决呢?
开始编译W文件......
CONTEXT_PATH:/x5
uiserverPath:\WeX5_V3.6x/runtime/UIServer  language:zh_CN  skin:desktop  device:pc
参数0: null
参数1: zh_CN
参数2: desktop
参数3: pc
参数4: /x5
参数5: D:\WeX5_V3.6x/runtime/UIServer
参数6: /UI2/wx1120
[JUSTEP_HOME in UIServer]: D:\WeX5_V3.6x
2017-12-05 16:07:49
===================================================
====================language:zh_CN, skin:desktop, device:pc=================
===================================================
2017-12-05 16:07:49 开始编译WINDOW文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:49 开始-WINDOW生成中间文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:49 加载模块:/UI2/system/components/justep/window/server ...
2017-12-05 16:07:49 加载模块:/UI2/system/components/justep/window/server
2017-12-05 16:07:49 加载模块:/UI2/system/components/justep/model/server ...
2017-12-05 16:07:49 加载模块:/UI2/system/components/justep/model/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/data/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/common/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/resources ...
2017-12-05 16:07:50 加载模块:/UI2/system/resources
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/common/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/data/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/panel/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/panel/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/titleBar/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/titleBar/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/list/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/list/server
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/windowDialog/server ...
2017-12-05 16:07:50 加载模块:/UI2/system/components/justep/windowDialog/server
2017-12-05 16:07:50 结束-WINDOW生成中间文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:50 开始-中间文件生成缓存文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:50 结束-中间文件生成缓存文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:50 结束编译WINDOW文件: /UI2/wx1120/mainActivity.w
2017-12-05 16:07:50
===================================================
====================language:zh_CN, skin:desktop, device:pc=================
===================================================
2017-12-05 16:07:50 开始编译WINDOW文件: /UI2/wx1120/jiyibi.w
2017-12-05 16:07:50 开始-WINDOW生成中间文件: /UI2/wx1120/jiyibi.w
2017-12-05 16:07:50 编码: JUSTEP000016; 提示: 读取文件"D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w"出错
com.justep.ui.exception.UIException: 编码: JUSTEP000016; 提示: 读取文件"D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w"出错
        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.compileForStudio(Unknown Source)
        at com.justep.ui.StudioWindowCompiler.execute(Unknown Source)
        at com.justep.ui.StudioWindowCompiler.compile(Unknown Source)
        at com.justep.tools.CompileUI.compileW(Unknown Source)
        at com.justep.tools.CompileUI.executeCompile(Unknown Source)
        at com.justep.tools.CompileUI.main(Unknown Source)
Caused by: com.justep.ui.exception.UIException: com.justep.ui.exception.ValidationException: line 53, column 7 of file:///D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w: Fatal error: XML document structures must start and end within the same entity.
file:///D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w, line 53, column 7: Fatal error: XML document structures must start and end within the same entity.
        at com.justep.ui.xml.XMLUtils.inputSourceToSAX(Unknown Source)
        at com.justep.ui.xml.XMLUtils.inputStreamToSAX(Unknown Source)
        ... 8 more
Caused by: com.justep.ui.exception.ValidationException: line 53, column 7 of file:///D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w: Fatal error: XML document structures must start and end within the same entity.
file:///D:/WeX5_V3.6x/model/UI2/wx1120/jiyibi.w, line 53, column 7: Fatal error: XML document structures must start and end within the same entity.
        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.endEntity(XMLDocumentFragmentScannerImpl.java:613)
        at orbeon.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(XMLDocumentScannerImpl.java:520)
        at orbeon.apache.xerces.impl.XMLEntityManager.endEntity(XMLEntityManager.java:1917)
        at orbeon.apache.xerces.impl.XMLEntityScanner.load(XMLEntityScanner.java:1763)
        at orbeon.apache.xerces.impl.XMLEntityScanner.skipChar(XMLEntityScanner.java:1176)
        at orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1600)
        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)
        ... 10 more

=============编译结果=================
[编译总数]: 2
[编译成功的个数]: 1
[编译失败的个数]: 1
[编译失败的文件]:
/UI2/wx1120/jiyibi.w?language=zh_CN
回复 支持 反对

使用道具 举报

11

主题

23

帖子

69

积分

初级会员

Rank: 2

积分
69
QQ
 楼主| 发表于 2017-12-5 16:42:18 | 显示全部楼层
ok,已解决了
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-4-20 12:30 , Processed in 0.060282 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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