oracle Hybris初始化失败,因为缺少UTF-8枚举[关闭]

56lgkhnf  于 2023-10-16  发布在  Oracle
关注(0)|答案(1)|浏览(87)

已关闭,此问题需要details or clarity。它目前不接受回答。
**想改善这个问题吗?**通过editing this post添加详细信息并澄清问题。

8天前关闭
Improve this question
在Docker中安装了Hybris 5.7和Oracle XE 18,我无法正确安装它。在初始化和更新(有很多失败)之后,我确实在Enum DB表中看到了不同编码的枚举值,比如UTF-16,UTF-32等等,但不是UTF-8。
这里有一个例外:

INFO   | jvm 1    | main    | 2023/10/07 12:53:49.889 | java.io.UnsupportedEncodingException: unsupported encoding: 'UTF-8'
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.889 |     at de.hybris.platform.util.Utilities.resolveEncoding(Utilities.java:1337)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.889 |     at de.hybris.platform.impex.jalo.ImpExManager.createImpExMedia(ImpExManager.java:434)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at de.hybris.platform.impex.jalo.ImpExManager.importData(ImpExManager.java:804)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at de.hybris.platform.impex.systemsetup.ImpExSystemSetup.importCSVFromResources(ImpExSystemSetup.java:139)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at de.hybris.platform.impex.systemsetup.ImpExSystemSetup.importData(ImpExSystemSetup.java:121)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at de.hybris.platform.impex.systemsetup.ImpExSystemSetup.createAutoImpexProjectData(ImpExSystemSetup.java:110)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at sun.reflect.GeneratedMethodAccessor456.invoke(Unknown Source)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.890 |     at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.891 |     at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:203)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.891 |     at de.hybris.platform.core.initialization.impl.SystemSetupCollectorImpl.executeMethods(SystemSetupCollectorImpl.java:266)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.891 |     at de.hybris.platform.core.Initialization.createProjectData(Initialization.java:1012)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.892 |     at de.hybris.platform.core.Initialization.doInitializeImpl(Initialization.java:601)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.892 |     at de.hybris.platform.core.Initialization.access$5(Initialization.java:474)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.892 |     at de.hybris.platform.core.Initialization$5.call(Initialization.java:793)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.892 |     at de.hybris.platform.core.Initialization$5.call(Initialization.java:1)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.893 |     at de.hybris.platform.core.system.InitializationLockHandler.performLocked(InitializationLockHandler.java:83)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.893 |     at de.hybris.platform.core.Initialization.doInitialize(Initialization.java:825)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.893 |     at de.hybris.platform.hac.facade.impl.DefaultInitUpdateFacade.executeInitUpdate(DefaultInitUpdateFacade.java:71)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.893 |     at de.hybris.platform.hac.controller.platform.InitUpdateController.initExecuteWrap(InitUpdateController.java:101)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.893 |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.894 |     at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.895 |     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.895 |     at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.895 |     at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.895 |     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.895 |     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.896 |     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.896 |     at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.896 |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.896 |     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
INFO   | jvm 1    | main    | 2023/10/07 12:53:49.896 |     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
voase2hg

voase2hg1#

在Windows 10中更改区域设置的配置后,它正在工作。
这里的例子如何做配置(后从phuclv)-What is the Windows equivalent for en_US.UTF-8 locale?

相关问题