简体   繁体   English

HotSwap with Hybris - 不适用于 Hybris Storefront Extension 代码

[英]HotSwap with Hybris - Not working for Hybris Storefront Extension codes

I have installed altjvm in my local machine and used hotswap from https://github.com/HotswapProjects/HotswapAgent/releases for Hot Deployment in Hybris.我已经在我的本地机器上安装了 altjvm 并使用来自https://github.com/HotswapProjects/HotswapAgent/releases的热交换在 Hybris 中进行热部署。 The hybris server is starting properly, but for the first time, the ant clean all is taking about 30 minutes and the server start up is taking about 40 minutes . hybris 服务器正常启动,但第一次, ant clean all需要大约30 分钟服务器启动大约需要40 分钟 For any change in facades or populators, the change is getting reflected by building only the required extension.对于外观或填充器的任何更改,仅通过构建所需的扩展来反映更改。

But the issue is with the storefront extension.但问题在于店面扩展。 Whenever any change is made in the storefront extension, I'm getting “ Unable create CtClass for URI '<>_tag.class' ” error for all the tag files and the pages are not opening after that.每当在店面扩展中进行任何更改时,我都会收到所有标记文件的“无法为 URI '<>_tag.class' 创建 CtClass ”错误,并且页面在此之后无法打开。

Hybris Version used: 6.7使用的混合版本: 6.7

DCEVM version: DCEVM-8u181-installer-build2.jar DCEVM 版本: DCEVM-8u181-installer-build2.jar

java version: “1.8.0_191” java版本: “1.8.0_191”

OS: Windows 10 pro.操作系统: Windows 10 专业版。

If anyone know something about this issue, please let me know.如果有人知道有关此问题的信息,请告诉我。

I'm facing the same issue here.我在这里面临同样的问题。

Eventually, the process finishes and I can see my changes in storefront (i'm 90% sure of this info), but it takes a long time.最终,该过程完成,我可以在店面中看到我的更改(我对这些信息有 90% 的把握),但这需要很长时间。

Looks like it's building the entire application看起来它正在构建整个应用程序

edit: well, I'll have to spend some time and try to make it work, hopefully I'll be back with an solution and we will not have to spend a river of money on jrebel :b编辑:好吧,我将不得不花一些时间并尝试使其发挥作用,希望我会回来提供解决方案,而我们不必在 jrebel 上花费大量资金:b

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM