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

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: 15030479317

[结贴] bex5打包问题

[复制链接]

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-6-16 12:00:32 | 显示全部楼层
15030479317 发表于 2017-6-16 11:59
2017-06-16 11:25:58 结束编译WINDOW文件: /UI2/system/components/justep/contents/demo/contents.w
    ...

2017-06-16 11:31:59 开始编译WINDOW文件: /UI2/system/components/justep/dataTables/demo/dataTables_bex5.w
   2017-06-16 11:31:59 开始-WINDOW生成中间文件: /UI2/system/components/justep/dataTables/demo/dataTables_bex5.w
   2017-06-16 11:31:59 编译/UI2/system/components/justep/dataTables/demo/dataTables_bex5.w?language=zh_CN&skin=出错!原因:

编码: JUSTEP191056; 提示: 解析Data(mainData)定义失败,Can not be loaded in the model [/demo/components/logic/action] action

[queryDEMO_TABLE1Action]
   com.justep.ui.system.SystemComponentException: 编码: JUSTEP191056; 提示: 解析Data(mainData)定义失败,Can not be loaded in

the model [/demo/components/logic/action] action [queryDEMO_TABLE1Action]
           at com.justep.ui.system.SystemComponentException.create(SystemComponentException.java:42)
           at BizData.createDataDef(BizData.java:35)
           at Data.execute(Data.java:40)
           at com.justep.ui.component.ComponentEngine.processServerTemplate(Unknown Source)
           at com.justep.ui.component.ComponentEngine.parser(Unknown Source)
           at com.justep.ui.component.ComponentEngine.parser(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.compileForStudio(Unknown Source)
           at com.justep.ui.PackageWindowCompiler.compileWindow(Unknown Source)
           at com.justep.ui.PackageWindowCompiler.compileWindow(Unknown Source)
           at com.justep.ui.PackageWindowCompiler.compile(Unknown Source)
           at com.justep.tools.ant.task.app.CompileUITask.execute(Unknown Source)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
   Caused by: com.justep.xbl.runtime.XBLException: Can not be loaded in the model [/demo/components/logic/action] action

[queryDEMO_TABLE1Action]
           at com.justep.ui2.system.component.data.bizdata.BizDataDef.loadBizActionModel(Native Method)
           at com.justep.ui2.system.component.data.bizdata.BizDataDef.<init>(Unknown Source)
           at BizData.createDataDef(BizData.java:32)
           ... 25 more
   2017-06-16 11:31:59 开始编译WINDOW文件: /UI2/system/components/justep/social/relativeOrg/demo/mainActivity.w
   2017-06-16 11:31:59 开始-WINDOW生成中间文件: /UI2/system/components/justep/social/relativeOrg/demo/mainActivity.w
   2017-06-16 11:32:04 加载模块:/UI2/system/components/justep/social/relativeOrg/server ...
   2017-06-16 11:32:04 加载模块:/UI2/system/components/justep/social/relativeOrg/server
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-6-16 12:01:02 | 显示全部楼层
15030479317 发表于 2017-6-16 12:00
2017-06-16 11:31:59 开始编译WINDOW文件: /UI2/system/components/justep/dataTables/demo/dataTables_b ...

2017-06-16 11:34:06 编译Window数:459
   2017-06-16 11:34:06 编译Window成功数:447
   2017-06-16 11:34:06 编译Window失败数:12
   2017-06-16 11:34:06 失败文件:[/UI2/system/service/doc/dialog/dirInfoDialog.w?language=zh_CN&skin=,

/UI2/SA/ide/process/ide/devActivityImpl.w?language=zh_CN&skin=, /UI2/system/components/justep/data/demo/demo.w?

language=zh_CN&skin=, /UI2/system/service/doc/dialog/docDownloadHistoryDialog.w?language=zh_CN&skin=,

/UI2/portal/pc3/login/login.w?language=zh_CN&skin=, /UI2/system/components/justep/input/demo/demo.w?language=zh_CN&skin=,

/UI2/system/service/doc/dialog/docInfoDialog.w?language=zh_CN&skin=, /UI2/SA/ide/process/ide/dialog/deployTable.w?

language=zh_CN&skin=, /UI2/portal/sample-pc3/login/login.w?language=zh_CN&skin=,

/UI2/system/components/justep/data/demo/data.w?language=zh_CN&skin=, /UI2/system/components/justep/excel/demo/excel.w?

language=zh_CN&skin=, /UI2/system/components/justep/dataTables/demo/dataTables_bex5.w?language=zh_CN&skin=]
   2017-06-16 11:34:06 编译成功
   2017-06-16 11:34:06 开始复制资源...
   2017-06-16 11:36:58 复制资源成功
   2017-06-16 11:36:58 开始生成首页...
   2017-06-16 11:36:58 生成首页成功
   2017-06-16 11:36:58 cordova plugin: cordova-plugin-app-version,cordova-plugin-

keyboard,com.justep.cordova.plugin.baidulocation,com.justep.cordova.plugin.weixin.v3,com.justep.cordova.plugin.qq,com.juste

p.cordova.plugin.alipay,cordova-plugin-

filepath,ch.ti8m.documenthandler,com.justep.cordova.plugin.unionpay,com.justep.cordova.plugin.push,cordova-plugin-x-

toast,at.modalog.cordova.plugin.cache,cordova-plugin-appavailability,cn.jpush.phonegap.JPushPlugin,cordova-plugin-file-

transfer,cordova-plugin-device,cordova-plugin-camera,cordova-plugin-spinner-dialog,com.justep.cordova.plugin.bmap,cordova-

plugin-geolocation,cordova-plugin-network-information,cordova-plugin-inappbrowser,cordova-plugin-media,cordova-plugin-

media-capture,phonegap-plugin-barcodescanner,com.synconset.imagepicker,cordova-plugin-file,
   编译UI资源:
      
   完成。
   
init
   
   开始......
      
   生成应用环境准备:
      
   复制模版工程:
      
   复制工程:
      
   复制WWW资源:
      
   更新工程信息:
      
   增加插件:
      使用到的插件: [cordova-plugin-camera, cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-

preferences, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.engine.tencent, cordova-plugin-app-version,

cordova-plugin-keyboard, com.justep.cordova.plugin.baidulocation, com.justep.cordova.plugin.weixin.v3,

com.justep.cordova.plugin.qq, com.justep.cordova.plugin.alipay, cordova-plugin-filepath, ch.ti8m.documenthandler,

com.justep.cordova.plugin.unionpay, com.justep.cordova.plugin.push, cordova-plugin-x-toast,

at.modalog.cordova.plugin.cache, cordova-plugin-appavailability, cn.jpush.phonegap.JPushPlugin, cordova-plugin-file-

transfer, cordova-plugin-device, cordova-plugin-camera, cordova-plugin-spinner-dialog, com.justep.cordova.plugin.bmap,

cordova-plugin-geolocation, cordova-plugin-network-information, cordova-plugin-inappbrowser, cordova-plugin-media,

cordova-plugin-media-capture, phonegap-plugin-barcodescanner, com.synconset.imagepicker, cordova-plugin-file]
      开始安装插件......
      开始准备插件参数......
      插件 "cordova-plugin-camera" 参数如下:
      插件 "cordova-plugin-splashscreen" 参数如下:
      插件 "cordova-plugin-app-preferences" 参数如下:
      插件 "cordova-plugin-file" 参数如下:
      插件 "cordova-plugin-file-transfer" 参数如下:
      插件 "cordova-plugin-network-information" 参数如下:
      插件 "cordova-plugin-zip" 参数如下:
      插件 "cordova-plugin-inappbrowser" 参数如下:
      插件 "cordova-plugin-x-toast" 参数如下:
      插件 "com.justep.cordova.plugin.app.utils" 参数如下:
      插件 "com.justep.cordova.plugin.engine.tencent" 参数如下:
           引擎选择方式(webViewEngine):auto
      插件 "cordova-plugin-app-version" 参数如下:
      插件 "cordova-plugin-keyboard" 参数如下:
      插件 "com.justep.cordova.plugin.baidulocation" 参数如下:
      插件 "com.justep.cordova.plugin.AFNetworking" 参数如下:
      插件 "cordova-plugin-http" 参数如下:
      插件 "com.justep.cordova.plugin.weixin.v3" 参数如下:
           微信应用ID(weixin_appid):[****ERROR****]
   ****ERROR****: 子任务 "addPlugins" 执行失败。
   ****ERROR****: 任务 "addPlugins" 执行失败。
   C:\Users\ADMINI~1\AppData\Local\Temp\4c823c63-5b75-4e7f-9300-697434fd0a3a\genSource.xml:122: 插

件“com.justep.cordova.plugin.weixin.v3”参数“微信应用ID(weixin_appid)”未设置,此参数为必须
           at com.justep.tools.ant.task.app.AddPluginsTask.a(Unknown Source)
           at com.justep.tools.ant.task.app.AddPluginsTask.a(Unknown Source)
           at com.justep.tools.ant.task.app.AddPluginsTask.execute(Unknown Source)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: 插件“com.justep.cordova.plugin.weixin.v3”参数“微信应用ID(weixin_appid)”未设置,此参数为必须
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-6-16 12:41:44 | 显示全部楼层
有一些页面也打不开,控制台报错
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
[ERROR] xui设计器:文档设置出错。 [com.justep.studio.ui.editors.xui.XuiDataModel 2017-06-16 12:41:05]
java.lang.NullPointerException
        at com.justep.studio.ui.editors.xui.XuiEditorPart.filt(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.reInitPallette(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiDataModel.init(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiDataModel.setXmlDocument(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiTreePanel.setDocument(Unknown Source)
        at com.justep.studio.ui.editors.xui.XuiEditorPart.setDocument(Unknown Source)
        at com.justep.studio.ui.editors.XuiMutiPageEditorPart.pageChange(Unknown Source)
        at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1083)
        at com.justep.studio.ui.editors.XuiMutiPageEditorPart.setActivePage(Unknown Source)
        at com.justep.studio.ui.editors.XuiMutiPageEditorPart.createPages(Unknown Source)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:358)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:138)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:313)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
        at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
        at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
        at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
        at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
        at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
        at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
        at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
        at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
        at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
        at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:92)
        at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
        at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
        at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
        at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
        at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
        at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
        at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
        at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
        at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
        at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
        at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
        at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
        at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2017-6-16 14:11:42 | 显示全部楼层
编译报错的不用处理,不影响使用

件“com.justep.cordova.plugin.weixin.v3”参数“微信应用ID(weixin_appid)”未设置,此参数为必须这个错误需要自己填写微信相关的参数,如果不用微信支付打包的时候可以不用选择这个插件
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
 楼主| 发表于 2017-6-16 14:40:07 | 显示全部楼层
jishuang 发表于 2017-6-16 14:11
编译报错的不用处理,不影响使用

件“com.justep.cordova.plugin.weixin.v3”参数“微信应用ID(weixin_app ...

请问那些需要配置参数的插件,有没有相应参数的文档??
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2017-6-16 15:06:16 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 16:57 , Processed in 0.057468 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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