gpt4 book ai didi

tomcat - Hybris 服务器 - 错误 StatusLogger - 无法创建类 de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory

转载 作者:行者123 更新时间:2023-11-28 22:49:26 27 4
gpt4 key购买 nike

在 SAP hybris 平台的构建过程中,我收到以下错误:

 [java] ERROR StatusLogger Cannot start ShutdownCallbackRegistry, already shutting down.
[java] ERROR StatusLogger Unable to create class de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory specified in file:/D:/Projects/make/hybris/bin/platform/ext/core/resources/META-INF/log4j-provider.properties
[java] java.lang.IllegalStateException: Shutdown in progress
[java] at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66)
[java] at java.lang.Runtime.addShutdownHook(Runtime.java:211)
[java] at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownHook(DefaultShutdownCallbackRegistry.java:151)
[java] at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.start(DefaultShutdownCallbackRegistry.java:137)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.initializeShutdownCallbackRegistry(Log4jContextFactory.java:125)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:92)
[java] at org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:58)
[java] at de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory.<init>(HybrisLog4j2LoggerContextFactory.java:22)
[...]

有人知道这是从哪里来的吗?

最佳答案

我在专家网站上找到了答案:

Just shut down your Hybris server and delete below 4 files from your data folder: hybristomcat.java.id, hybristomcat.java.pid, hybristomcat.java.status, hybristomcat.lock

And now restart the server. These 4 files would be created again once server is started and Hybris would map these tomcat server properties with your machine's JVM.

这个解决方案适合我。

关于tomcat - Hybris 服务器 - 错误 StatusLogger - 无法创建类 de.hybris.platform.util.logging.log4j2.HybrisLog4j2LoggerContextFactory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45232926/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com