|
1.将原有项目拷贝到新解压的WeX5_V3.4开发环境;
2.打开.w文件点击“设计”将报错,错误信息如下:
[ERROR] xui设计器:模型初始化出错。 [com.justep.studio.ui.editors.xui.XuiDataModel 2017-02-15 14:57:11]
java.lang.ClassCastException: org.eclipse.wst.xml.core.internal.document.DocumentImpl cannot be cast to org.w3c.dom.Element
at com.justep.studio.ui.editors.xui.XuiDesignerConfig.getConfig(Unknown Source)
3.右击>模型编译时也报错,错误信息如下:
2017-02-15 15:14:23 开始编译WINDOW文件: /UI2/tywxpt/module/yhxx/yhdl.w
2017-02-15 15:14:23 开始-WINDOW生成中间文件: /UI2/tywxpt/module/yhxx/yhdl.w
2017-02-15 15:14:23 编码: JUSTEP000016; 提示: 读取文件"E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.w"出错
com.justep.ui.exception.UIException: 编码: JUSTEP000016; 提示: 读取文件"E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.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 27, column 23 of file:///E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.w: Fatal error: The entity name must immediately follow the '&' in the entity reference.
file:///E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.w, line 27, column 23: Fatal error: The entity name must immediately follow the '&' in the entity reference.
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 27, column 23 of file:///E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.w: Fatal error: The entity name must immediately follow the '&' in the entity reference.
file:///E:/WeX5_V3.4/model/UI2/tywxpt/module/yhxx/yhdl.w, line 27, column 23: Fatal error: The entity name must immediately follow the '&' in the entity reference.
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:1252)
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)
... 10 more |
|