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

QQ登录

只需一步,快速开始

查看: 9281|回复: 5

[处理中3] bex5移动端打包报错

[复制链接]

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
发表于 2020-11-9 21:44:22 | 显示全部楼层 |阅读模式
版本: 其它(帖子中说明) 小版本号:
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 其它 浏览器: Chrome
bex5.3.9版本移动端打包报错错误信息如下:

开始......

保存配置信息:

环境初始化:

编译UI2资源:
   开始......

   [JUSTEP_HOME in UIServer]: D:\BeX5_V3.9
   2020-11-09 21:41:07 参数1: D:\BeX5_V3.9/runtime/UIServer
   2020-11-09 21:41:07 参数2: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:07 参数3: D:/BeX5_V3.9/model/Native/misnew/www/x5/UI2
   2020-11-09 21:41:07 参数4:
   2020-11-09 21:41:07 参数5:
   2020-11-09 21:41:07 参数6: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:07 参数7: 3
   2020-11-09 21:41:07 参数8: v_6277_nol_zh_CNs_d_m
   2020-11-09 21:41:07 参数9:
   [JUSTEP_HOME in UIServer]: D:\BeX5_V3.9
   2020-11-09 21:41:08 参数0: D:\BeX5_V3.9/runtime/UIServer
   2020-11-09 21:41:08 参数1: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:08 参数2: D:/BeX5_V3.9/model/Native/misnew/www/x5/UI2
   2020-11-09 21:41:08 参数3:
   2020-11-09 21:41:08 参数4:
   2020-11-09 21:41:08 参数5: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:08 参数6: 3
   2020-11-09 21:41:08 参数7: v_6277_nol_zh_CNs_d_m
   2020-11-09 21:41:08 参数8:
   2020-11-09 21:41:08 输出目录:D:\BeX5_V3.9\model\Native\misnew\www\x5\UI2
   2020-11-09 21:41:08 开始清空输出目录...
   2020-11-09 21:41:08 清空输出目录成功
   2020-11-09 21:41:08 开始编译...
   2020-11-09 21:41:09 开始编译WINDOW文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:09 开始-WINDOW生成中间文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/window/server ...
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/window/server
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/model/server ...
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/model/server
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/contents/server ...
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/common/server ...
   2020-11-09 21:41:09 加载模块:/UI2/system/resources ...
   2020-11-09 21:41:09 加载模块:/UI2/system/resources
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/common/server
   2020-11-09 21:41:09 加载模块:/UI2/system/components/justep/contents/server
   2020-11-09 21:41:09 结束-WINDOW生成中间文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:09 开始-中间文件生成缓存文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:10 结束-中间文件生成缓存文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:10 结束编译WINDOW文件: /UI2/portal_X/pc3/index.w
   2020-11-09 21:41:10 开始编译WINDOW文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:10 开始-WINDOW生成中间文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:10 结束-WINDOW生成中间文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:10 开始-中间文件生成缓存文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:10 结束-中间文件生成缓存文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:10 结束编译WINDOW文件: /UI2/portal/pc3/index.w
   2020-11-09 21:41:21 开始编译WINDOW文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 开始-WINDOW生成中间文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 结束-WINDOW生成中间文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 开始-中间文件生成缓存文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 结束-中间文件生成缓存文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 结束编译WINDOW文件: /UI2/portal/base/base.w
   2020-11-09 21:41:21 编译Window数:3
   2020-11-09 21:41:21 编译Window成功数:3
   2020-11-09 21:41:21 编译Window失败数:0
   2020-11-09 21:41:21 编译成功
   2020-11-09 21:41:21 开始复制资源...
   2020-11-09 21:41:22 复制资源成功
   2020-11-09 21:41:22 开始生成首页...
   2020-11-09 21:41:22 生成首页成功
   2020-11-09 21:41:22 cordova plugin: cordova-plugin-x-toast,cordova-plugin-device,cordova-plugin-inappbrowser,cordova-plugin-app-version,cordova-plugin-spinner-dialog,cordova-plugin-keyboard,com.justep.cordova.plugin.push,
   2020-11-09 21:41:22 services:
   编译UI资源:

   完成。

编译UIX资源:

编译UI资源:

环境初始化:

   开始......

   生成应用环境准备:

   复制模版工程:

   复制工程:

   判断是否存在ios开发证书:

   拷贝开发证书:

   判断是否存在ios发布证书:

   拷贝发布证书:

   复制应用图标:

   复制启动画面:

   复制WWW资源:

   更新工程信息:

      You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ios project rename compelete!!!!!!
      mobileprovision not been find!!!!

   增加插件:
      使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences, com.justep.cordova.plugin.app.utils, com.justep.cordova.plugin.engine.tencent, cordova-plugin-wkwebview-engine, cordova-plugin-x-toast, cordova-plugin-device, cordova-plugin-inappbrowser, cordova-plugin-app-version, cordova-plugin-spinner-dialog, cordova-plugin-keyboard, com.justep.cordova.plugin.push]
      开始安装插件......
      开始准备插件参数......
      插件 "cordova-plugin-splashscreen" 参数如下:
      插件 "cordova-plugin-app-preferences" 参数如下:
      插件 "cordova-plugin-file" 参数如下:
      插件 "cordova-plugin-file-transfer" 参数如下:
           请求访问相册时的提示(TRANSFER_PHOTOLIBRARY_USAGE_DESCRIPTION):App需要您的同意才可以访问相册
      插件 "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-wkwebview-engine" 参数如下:
      插件 "cordova-plugin-device" 参数如下:
      插件 "cordova-plugin-app-version" 参数如下:
      插件 "cordova-plugin-spinner-dialog" 参数如下:
      插件 "cordova-plugin-keyboard" 参数如下:
      插件 "com.justep.cordova.plugin.push" 参数如下:
           mqtt服务地址(mqtt_server):tcp://location.hostname:1883
      插件参数准备完成

      You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      Installing "cordova-plugin-splashscreen" for android
      Installing "cordova-plugin-splashscreen" for ios
      Adding cordova-plugin-splashscreen to package.json
      Saved plugin info for "cordova-plugin-splashscreen" to config.xml
      Installing "cordova-plugin-app-preferences" for android
      Installing "cordova-plugin-app-preferences" for ios
      Adding cordova-plugin-app-preferences to package.json
      Saved plugin info for "cordova-plugin-app-preferences" to config.xml
      Installing "cordova-plugin-file" for android

      The Android Persistent storage location now defaults to "Internal". Please check this plugin's README to see if your application needs any changes in its config.xml.

      If this is a new application no changes are required.

      If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

            "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

      to config.xml in order for the application to find previously stored files.

      Installing "cordova-plugin-file" for ios
      Adding cordova-plugin-file to package.json
      Saved plugin info for "cordova-plugin-file" to config.xml
      Installing "cordova-plugin-file-transfer" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-file-transfer" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Adding cordova-plugin-file-transfer to package.json
      Saved plugin info for "cordova-plugin-file-transfer" to config.xml
      Installing "cordova-plugin-network-information" for android
      Installing "cordova-plugin-network-information" for ios
      Adding cordova-plugin-network-information to package.json
      Saved plugin info for "cordova-plugin-network-information" to config.xml
      Installing "cordova-plugin-zip" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Installing "cordova-plugin-zip" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Adding cordova-plugin-zip to package.json
      Saved plugin info for "cordova-plugin-zip" to config.xml
      Installing "cordova-plugin-inappbrowser" for android
      Installing "cordova-plugin-inappbrowser" for ios
      Adding cordova-plugin-inappbrowser to package.json
      Saved plugin info for "cordova-plugin-inappbrowser" to config.xml
      Installing "cordova-plugin-x-toast" for android
      Installing "cordova-plugin-x-toast" for ios
      Adding cordova-plugin-x-toast to package.json
      Saved plugin info for "cordova-plugin-x-toast" to config.xml
      Installing "com.justep.cordova.plugin.app.utils" for android
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on android.
      Plugin dependency "cordova-plugin-file-transfer@1.5.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-file-transfer" already installed on android.
      Plugin dependency "cordova-plugin-network-information@1.2.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-network-information" already installed on android.
      Plugin dependency "cordova-plugin-zip@3.0.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-zip" already installed on android.
      Plugin dependency "cordova-plugin-inappbrowser@3.1.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on android.
      Plugin dependency "cordova-plugin-x-toast@2.4.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-x-toast" already installed on android.
      Installing "com.justep.cordova.plugin.app.utils" for ios
      Plugin dependency "cordova-plugin-file@5.0.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-file" already installed on ios.
      Plugin dependency "cordova-plugin-file-transfer@1.5.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-file-transfer" already installed on ios.
      Plugin dependency "cordova-plugin-network-information@1.2.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-network-information" already installed on ios.
      Plugin dependency "cordova-plugin-zip@3.0.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-zip" already installed on ios.
      Plugin dependency "cordova-plugin-inappbrowser@3.1.1-dev" already fetched, using that version.
      Dependent plugin "cordova-plugin-inappbrowser" already installed on ios.
      Plugin dependency "cordova-plugin-x-toast@2.4.0" already fetched, using that version.
      Dependent plugin "cordova-plugin-x-toast" already installed on ios.
      Adding com.justep.cordova.plugin.app.utils to package.json
      Saved plugin info for "com.justep.cordova.plugin.app.utils" to config.xml
      Installing "com.justep.cordova.plugin.engine.tencent" for android
      Installing "com.justep.cordova.plugin.engine.tencent" for ios
      Adding com.justep.cordova.plugin.engine.tencent to package.json
      Saved plugin info for "com.justep.cordova.plugin.engine.tencent" to config.xml
      Installing "cordova-plugin-wkwebview-engine" for android
      Installing "cordova-plugin-wkwebview-engine" for ios
      apple-ios version check failed ("D:\BeX5_V3.9\model\Native\misnew\build\src\platforms\ios\cordova\apple_ios_version"), continuing anyways.
      Adding cordova-plugin-wkwebview-engine to package.json
      Saved plugin info for "cordova-plugin-wkwebview-engine" to config.xml
      Installing "cordova-plugin-device" for android
      Installing "cordova-plugin-device" for ios
      Adding cordova-plugin-device to package.json
      Saved plugin info for "cordova-plugin-device" to config.xml
      Installing "cordova-plugin-app-version" for android
      Installing "cordova-plugin-app-version" for ios
      Adding cordova-plugin-app-version to package.json
      Saved plugin info for "cordova-plugin-app-version" to config.xml
      Installing "cordova-plugin-spinner-dialog" for android
      Installing "cordova-plugin-spinner-dialog" for ios
      Adding cordova-plugin-spinner-dialog to package.json
      Saved plugin info for "cordova-plugin-spinner-dialog" to config.xml
      Installing "cordova-plugin-keyboard" for android
      Installing "cordova-plugin-keyboard" for ios
      Adding cordova-plugin-keyboard to package.json
      Saved plugin info for "cordova-plugin-keyboard" to config.xml
      Installing "com.justep.cordova.plugin.push" for android
      Installing "com.justep.cordova.plugin.push" for ios
      Adding com.justep.cordova.plugin.push to package.json
      Saved plugin info for "com.justep.cordova.plugin.push" to config.xml
      插件安装完成

   创建源代码工程:

   生成源代码:

   完成。
环境初始化:

   开始......

   生成应用环境准备:

   android应用环境准备:

   ios应用环境准备:

   生成android应用包:

      You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ANDROID_HOME=D:\BeX5_V3.9\tools\adt-sdk
      JAVA_HOME=D:\BeX5_V3.9\java\jre1.8

      FAILURE: Build failed with an exception.

      * What went wrong:
      Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().

      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      Error: cmd: Command failed with exit code 1 Error output:
      FAILURE: Build failed with an exception.

      * What went wrong:
      Could not create service of type ClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().

      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\ADMINI~1\AppData\Local\Temp\e9419e38-9a07-45ea-bb16-4b3191f33780\pack.xml:91: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           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****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html


91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-11-10 09:21:02 | 显示全部楼层
打包过程中怎么选择的?之前的版本打包正常?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2020-11-10 10:20:05 | 显示全部楼层
jishuang 发表于 2020-11-10 09:21
打包过程中怎么选择的?之前的版本打包正常?

用的模式三 其他过程与之前一样
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-11-10 11:51:22 | 显示全部楼层
换一个机器打包看看,看错误像是哪个服务没起起来
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2020-11-10 13:48:14 | 显示全部楼层
jishuang 发表于 2020-11-10 11:51
换一个机器打包看看,看错误像是哪个服务没起起来

在本地试了一下可以打包,打包出错的那台是服务器机器,启动后系统可以正常使用,该如何启动,可正常打包
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-11-10 16:35:22 | 显示全部楼层
服务器是开发版吗?在本地打包可以就在本地打包,url设置为服务器的url就可以
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-25 03:00 , Processed in 0.065667 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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