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