天天看點

使用 Java 11 安裝 SAP Commerce Cloud 1905 的一些常見問題

Spartacus recipe (smartedit)

如果遇到下列錯誤:

[yjavac] error: option --add-exports not allowed with target 1.8

解決方案

set the following property standalone.jdkmodulesexports to an empty string in {yenvWorkspace}/binaries⁩/hybris/bin⁩/⁨platform/resources⁩/advanced.properties

standalone.jdkmodulesexports=

然後:

yenv clean+init

run ant npminstall before building

add to local.properties and admin password

init.admin.password=nimda

If hybris does not start, remove endorsed dirs configuration from local.properties, then launch ‘yenv build’. (this will regenerate the tomcat wrapper (./binaries/hybris/bin/platform/tomcat/conf/wrapper.conf))

-Djava.endorsed.dirs="%CATALINA_HOME%/lib/endorsed”

login to smartedit with cmsmanager/1234