Я использую SAP Commerce 2205 на Ubuntu с Java (SAP Machine) версии 17, и каждый раз, когда я запускаю ant clean all, сборка завершается с ошибкой, упомянутой ниже. Я могу выполнить настройку в первый раз, и все работает нормально, без ошибок.
Но как только я обновляю код и запускаю ant, очищаю все, сборка завершается с ошибкой. Я несколько раз пробовал новую настройку, но каждый раз сборка завершалась с той же ошибкой. Вот моя конфигурация и часть журнала ошибок:
SAP Commerce 2205
openjdk version "17.0.5" 2022-10-18 LTS
OpenJDK Runtime Environment SapMachine (build 17.0.5+8-LTS)
OpenJDK 64-Bit Server VM SapMachine (build 17.0.5+8-LTS, mixed mode, sharing)
[delete] Deleting directory /home/ccc/v11/core-customize/hybris/temp/hybris/bofs
[script] [To redirect Truffle log output to a file use one of the following options:
[script] * '--log.file=
' if the option is passed using a guest language launcher.
[script] * '-Dpolyglot.log.file=' if the option is passed using the host Java launcher.
[script] * Configure logging using the polyglot embedding API.]
[script] [engine] WARNING: The polyglot context is using an implementation that does not support runtime compilation.
[script] The guest application code will therefore be executed in interpreted mode only.
[script] Execution only in interpreted mode will strongly impact the guest application performance.
[script] For more information on using GraalVM see https://www.graalvm.org/java/quickstart/.
[script] To disable this warning the '--engine.WarnInterpreterOnly=false' option or use the '-Dpolyglot.engine.WarnInterpreterOnly=false' system property.
Журналы ошибок сборки:
BUILD FAILED
/home/ccc/v11/core-customize/hybris/bin/platform/build.xml:13: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/platform/resources/ant/compiling.xml:95: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/platform/resources/ant/compiling.xml:207: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/platform/resources/ant/util.xml:13: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/platform/resources/ant/compiling.xml:209: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/platform/resources/ant/util.xml:142: The following error occurred while executing this line:
/home/ccc/v11/core-customize/hybris/bin/modules/backoffice-framework/backoffice/buildcallbacks.xml:469: The following error occurred while executing this line:
**/home/ccc/v11/core-customize/hybris/bin/modules/backoffice-framework/backoffice/buildcallbacks.xml:510: TypeError: invokeMember (setProperty) on org.apache.tools.ant.Project@8923ce failed due to: Unknown identifier: setProperty
at :program(:3:15-74)
at org.graalvm.polyglot.Context.eval(Context.java:379)
at com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.eval(GraalJSScriptEngine.java:458)**
at com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.eval(GraalJSScriptEngine.java:426)
at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:262)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:150)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:82)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:53)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at java.base/java.util.Vector.forEach(Vector.java:1365)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:67)
Подробнее здесь: https://stackoverflow.com/questions/755 ... ode-update
BUILD FAILED hybris ant очистит все после обновления кода ⇐ JAVA
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Java.lang.IllegalAccessError при сборке ant в SAP Hybris/Commerce версии 2105
Anonymous » » в форуме JAVA - 0 Ответы
- 14 Просмотры
-
Последнее сообщение Anonymous
-
-
-
C ++: Почему Boost :: IC :: Interval_Map :: Flip () просто очистит карту?
Anonymous » » в форуме C++ - 0 Ответы
- 14 Просмотры
-
Последнее сообщение Anonymous
-