【问题标题】:CRXDE doesn't allow me to upload/download bundlesCRXDE 不允许我上传/下载包
【发布时间】:2019-07-11 17:44:21
【问题描述】:

版本 AEM 6.3,这是我的本地实例。

每次我进入 AEM 在我的本地安装包时,它都会说 exec.json 丢失,我发现了一个手动覆盖问题的方法,但它使我的时间增加了一倍来集成包。

错误

创建包

Failed to load resource: the server responded with a status of 404 (Not Found)
service/exec.json?cmd=create:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Dialog.js:191 Uncaught TypeError: Cannot read property 'msg' of undefined
    at constructor.CRX.ide.Dialog.DEFAULT_ERROR_HANDLER (Dialog.js:191)
    at Object.callback (ext-base-debug.js:1443)
    at Ext.form.BasicForm.afterAction (ext-all-debug.js:56465)
    at Ext.form.Action.Submit.failure (ext-all-debug.js:58865)
    at Ext.data.Connection.handleFailure (ext-all-debug.js:8564)
    at handleTransactionResponse (ext-base-debug.js:2517)
    at ext-base-debug.js:2552

安装包

ext-all-debug.js:8665 POST http://localhost:4502/crx/packmgr/service/exec.json?cmd=upload&jsonInTextarea=true 404 (Not Found)
doFormUpload @ ext-all-debug.js:8665
request @ ext-all-debug.js:8853
(anonymous) @ ext-base-debug.js:751
run @ ext-all-debug.js:59008
(anonymous) @ ext-base-debug.js:831
setTimeout (async)
defer @ ext-base-debug.js:864
doAction @ ext-all-debug.js:56328
submit @ ext-all-debug.js:56384
doSubmit @ UploadPackageDialog.js:56
submit @ Dialog.js:128
onClick @ ext-all-debug.js:41008
h @ ext-all-debug.js:2463
VM420:2 Uncaught SyntaxError: Unexpected token <
    at doDecode (ext-all-debug.js:11527)
    at Object.decode (ext-all-debug.js:11649)
    at Ext.form.Action.Submit.handleResponse (ext-all-debug.js:59055)
    at Ext.form.Action.Submit.processResponse (ext-all-debug.js:58876)
    at Ext.form.Action.Submit.success (ext-all-debug.js:59024)
    at runCallback (ext-all-debug.js:8652)
    at Ext.data.Connection.cb (ext-all-debug.js:8656)
    at HTMLIFrameElement.h (ext-all-debug.js:2463)

【问题讨论】:

  • 您能否更准确地说明一下您是如何安装捆绑包的?你在哪里做?您是安装内容包还是 jar 文件?
  • 它在我的本地,它是 AEM 提供的 6.3 jar 文件,我使用 QuickStart AEM install 安装本地。

标签: aem crx


【解决方案1】:

我通过找到一个旧博客解决了这个问题:https://aemgeeks.wordpress.com/2017/08/25/install-crx-packages-bundles-automatically-on-server-startup/

步骤

  1. 在 crx-quickstart 文件夹的根目录下创建一个install 文件夹。

  2. 将您尝试安装的软件包放在install 文件夹中。

  3. 在本地重新启动 AEM。
  4. 支持我的回答。

【讨论】:

    【解决方案2】:

    您可以尝试从console/bundles 安装它吗?

    【讨论】:

    • 你好,我试过了。这个问题有一个手动解决方法,但我仍然无法创建包,是否可能是权限问题,但在本地级别,也许我的计算机防火墙有某种影响?
    猜你喜欢
    • 2012-06-11
    • 2019-01-23
    • 1970-01-01
    • 2017-03-17
    • 2013-11-19
    • 1970-01-01
    • 1970-01-01
    • 2017-09-21
    • 2020-12-07
    相关资源
    最近更新 更多