Axelor ınstallatıon with Intellijda

hello… i am trying to install axelot ru on windows 10 64 bit with intellij idea(2022.1.2 Ultimate). he’s always making mistakes about it. the videos on youtube are running on linux, so I’m making a mistake somewhere. I will write the errors related to this at the end of the message.*

but I can install and run it on ubuntu (18.04 server image). if I install it on the server, can I edit these files afterwards?

is there any difference Dec running axelor u between ubuntu versions?


error logs on intellıjda

*Build file ‹ C:\erp\modules\axelor-open-suite\axelor-bpm\build.gradle › line: 21

A problem occurred evaluating project ‹ :modules:axelor-bpm ›.

Could not find method compile() for arguments [org.camunda.bpm:camunda-engine:7.15.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:

Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.GradleScriptException: A problem occurred evaluating project ‹ :modules:axelor-bpm ›.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
    at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:79)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
    at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
    at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
    at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:44)
    at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:360)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:378)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:359)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)
    at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
    at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
    at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:109)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:360)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$2(DefaultProjectStateRegistry.java:408)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:408)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:389)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:359)
    at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:100)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
    at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:72)
    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:760)
    at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:151)
    at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.ensureConfigured(DefaultProjectStateRegistry.java:328)
    at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:33)
    at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:49)
    at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:50)
    at org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:64)
    at org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
    at org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40)
    at org.gradle.initialization.VintageBuildModelController.lambda$prepareProjects$3(VintageBuildModelController.java:89)
    at org.gradle.internal.model.StateTransitionController.lambda$doTransition$12(StateTransitionController.java:227)
    at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238)
    at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:226)
    at org.gradle.internal.model.StateTransitionController.lambda$transitionIfNotPreviously$10(StateTransitionController.java:201)
    at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:34)
    at org.gradle.internal.model.StateTransitionController.transitionIfNotPreviously(StateTransitionController.java:197)
    at org.gradle.initialization.VintageBuildModelController.prepareProjects(VintageBuildModelController.java:89)
    at org.gradle.initialization.VintageBuildModelController.getConfiguredModel(VintageBuildModelController.java:64)
    at org.gradle.internal.build.DefaultBuildLifecycleController.lambda$withProjectsConfigured$1(DefaultBuildLifecycleController.java:121)
    at org.gradle.internal.model.StateTransitionController.lambda$notInState$4(StateTransitionController.java:143)
    at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
    at org.gradle.internal.model.StateTransitionController.notInState(StateTransitionController.java:139)
    at org.gradle.internal.build.DefaultBuildLifecycleController.withProjectsConfigured(DefaultBuildLifecycleController.java:121)
    at org.gradle.internal.build.DefaultBuildToolingModelController.locateBuilderForTarget(DefaultBuildToolingModelController.java:57)
    at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.lambda$locateBuilderForTarget$0(DefaultBuildTreeModelCreator.java:73)
    at org.gradle.internal.build.DefaultBuildLifecycleController.withToolingModels(DefaultBuildLifecycleController.java:178)
    at org.gradle.internal.build.AbstractBuildState.withToolingModels(AbstractBuildState.java:111)
    at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.locateBuilderForTarget(DefaultBuildTreeModelCreator.java:73)
    at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator$DefaultBuildTreeModelController.locateBuilderForDefaultTarget(DefaultBuildTreeModelCreator.java:68)
    at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getTarget(DefaultBuildController.java:157)
    at org.gradle.tooling.internal.provider.runner.DefaultBuildController.getModel(DefaultBuildController.java:101)
    at org.gradle.tooling.internal.consumer.connection.ParameterAwareBuildControllerAdapter.getModel(ParameterAwareBuildControllerAdapter.java:39)
    at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.getModel(UnparameterizedBuildController.java:113)
    at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.getModel(NestedActionAwareBuildControllerAdapter.java:31)
    at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.findModel(UnparameterizedBuildController.java:97)
    at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.findModel(NestedActionAwareBuildControllerAdapter.java:31)
    at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.findModel(UnparameterizedBuildController.java:81)
    at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.findModel(NestedActionAwareBuildControllerAdapter.java:31)
    at org.gradle.tooling.internal.consumer.connection.UnparameterizedBuildController.findModel(UnparameterizedBuildController.java:66)
    at org.gradle.tooling.internal.consumer.connection.NestedActionAwareBuildControllerAdapter.findModel(NestedActionAwareBuildControllerAdapter.java:31)
    at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:126)
    at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
    at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:64)
    at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner$ActionAdapter.runAction(AbstractClientProvidedBuildActionRunner.java:131)
    at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner$ActionAdapter.beforeTasks(AbstractClientProvidedBuildActionRunner.java:99)
    at org.gradle.internal.buildtree.DefaultBuildTreeModelCreator.beforeTasks(DefaultBuildTreeModelCreator.java:52)
    at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$fromBuildModel$1(DefaultBuildTreeLifecycleController.java:75)
    at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.lambda$runBuild$4(DefaultBuildTreeLifecycleController.java:106)
    at org.gradle.internal.model.StateTransitionController.lambda$transition$6(StateTransitionController.java:166)
    at org.gradle.internal.model.StateTransitionController.doTransition(StateTransitionController.java:238)
    at org.gradle.internal.model.StateTransitionController.lambda$transition$7(StateTransitionController.java:166)
    at org.gradle.internal.work.DefaultSynchronizer.withLock(DefaultSynchronizer.java:44)
    at org.gradle.internal.model.StateTransitionController.transition(StateTransitionController.java:166)
    at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.runBuild(DefaultBuildTreeLifecycleController.java:103)
    at org.gradle.internal.buildtree.DefaultBuildTreeLifecycleController.fromBuildModel(DefaultBuildTreeLifecycleController.java:74)
    at org.gradle.tooling.internal.provider.runner.AbstractClientProvidedBuildActionRunner.runClientAction(AbstractClientProvidedBuildActionRunner.java:43)
    at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:53)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.internal.buildtree.ProblemReportingBuildActionRunner.run(ProblemReportingBuildActionRunner.java:49)
    at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:69)
    at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:119)
    at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
    at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.lambda$execute$0(RootBuildLifecycleBuildActionExecutor.java:40)
    at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:128)
    at org.gradle.launcher.exec.RootBuildLifecycleBuildActionExecutor.execute(RootBuildLifecycleBuildActionExecutor.java:40)
    at org.gradle.internal.buildtree.DefaultBuildTreeContext.execute(DefaultBuildTreeContext.java:40)
    at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.lambda$execute$0(BuildTreeLifecycleBuildActionExecutor.java:65)
    at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
    at org.gradle.launcher.exec.BuildTreeLifecycleBuildActionExecutor.execute(BuildTreeLifecycleBuildActionExecutor.java:65)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:61)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor$3.call(RunAsBuildOperationBuildActionExecutor.java:57)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionExecutor.execute(RunAsBuildOperationBuildActionExecutor.java:57)
    at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.lambda$execute$0(RunAsWorkerThreadBuildActionExecutor.java:36)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:270)
    at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:119)
    at org.gradle.launcher.exec.RunAsWorkerThreadBuildActionExecutor.execute(RunAsWorkerThreadBuildActionExecutor.java:36)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecutor.execute(ContinuousBuildActionExecutor.java:103)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecutor.execute(SubscribableBuildActionExecutor.java:64)
    at org.gradle.internal.session.DefaultBuildSessionContext.execute(DefaultBuildSessionContext.java:46)
    at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:100)
    at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter$ActionImpl.apply(BuildSessionLifecycleBuildActionExecuter.java:88)
    at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:69)
    at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:62)
    at org.gradle.tooling.internal.provider.BuildSessionLifecycleBuildActionExecuter.execute(BuildSessionLifecycleBuildActionExecuter.java:41)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:63)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
    at org.gradle.util.internal.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method compile() for arguments [org.camunda.bpm:camunda-engine:7.15.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
    at org.gradle.internal.metaobject.AbstractDynamicObject$CustomMissingMethodExecutionFailed.(AbstractDynamicObject.java:190)
    at org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:184)
    at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:86)
    at build_95jbpbunqk9zof056fzeqmza4$_run_closure4.doCall(C:\erp\modules\axelor-open-suite\axelor-bpm\build.gradle:21)
    at org.gradle.util.internal.ClosureBackedAction.execute(ClosureBackedAction.java:72)
    at org.gradle.util.internal.ConfigureUtil.configureTarget(ConfigureUtil.java:155)
    at org.gradle.util.internal.ConfigureUtil.configure(ConfigureUtil.java:106)
    at org.gradle.api.internal.project.DefaultProject.dependencies(DefaultProject.java:1241)
    at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:484)
    at org.gradle.internal.metaobject.BeanDynamicObject.tryInvokeMethod(BeanDynamicObject.java:196)
    at org.gradle.internal.metaobject.CompositeDynamicObject.tryInvokeMethod(CompositeDynamicObject.java:98)
    at org.gradle.internal.extensibility.MixInClosurePropertiesAsMethodsDynamicObject.tryInvokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:34)
    at org.gradle.groovy.scripts.BasicScript$ScriptDynamicObject.tryInvokeMethod(BasicScript.java:135)
    at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
    at org.gradle.groovy.scripts.BasicScript.invokeMethod(BasicScript.java:84)
    at build_95jbpbunqk9zof056fzeqmza4.run(C:\erp\modules\axelor-open-suite\axelor-bpm\build.gradle:20)
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
    … 170 more

check the jdk version, 2ndly no major difference in style of running on two different Ubuntu version

Installation on windows is quite same as on Linux, as it is java 8 required on both side

thanks for your reply. java version « javac 1.8.0_332 »

I think you use a too newer version of Gradle.

thanks for your reply.
which version should I use ?

mine:

Gradle 7.4.2

Build time: 2022-03-31 15:25:29 UTC
Revision: 540473b8118064efcc264694cbcaa4b677f61041

Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant™ version 1.10.11 compiled on July 10 2021
JVM: 1.8.0_332 (Temurin 25.332-b09)
OS: Windows 10 10.0 amd64

From this post, you should use a version before 7

1 J'aime

thank you, ı changed versıon now ıts « gradle-5.6.4 », but stıll not workıng

  • error on termınal

PS C:\erp> ./gradlew generateLauncher
Task :buildSrc:compileJava UP-TO-DATE
Task :buildSrc:compileGroovy NO-SOURCE
Task :buildSrc:processResources NO-SOURCE
Task :buildSrc:classes UP-TO-DATE
Task :buildSrc:jar UP-TO-DATE
Task :buildSrc:assemble UP-TO-DATE
Task :buildSrc:compileTestJava NO-SOURCE
Task :buildSrc:compileTestGroovy NO-SOURCE
Task :buildSrc:processTestResources NO-SOURCE
Task :buildSrc:testClasses UP-TO-DATE
Task :buildSrc:test NO-SOURCE
Task :buildSrc:check UP-TO-DATE
Task :buildSrc:build UP-TO-DATE

FAILURE: Build failed with an exception.

  • Where:
    Build file ‹ C:\erp\modules\axelor-open-suite\axelor-bpm\build.gradle › line: 21

  • What went wrong:
    A problem occurred evaluating project ‹ :modules:axelor-bpm ›.

Could not find method compile() for arguments [org.camunda.bpm:camunda-engine:7.15.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use ‹ –warning-mode all › to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See Command-Line Interface

BU¦LD FAILED in 6s
2 actionable tasks: 2 up-to-date

on buıld

Task :modules:axelor-exception:compileJava
C:\erp\modules\axelor-open-suite\axelor-exception\src\main\java\com\axelor\exception\service\TraceBackService.java:78: error: cannot find symbol
traceBack.setInternalUser(AuthUtils.getUser());
^
symbol: method setInternalUser(User)
location: variable traceBack of type TraceBack
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:40: error: TraceBack is not abstract and does not override abstract method setId(Long) in Model
public class TraceBack extends AuditableModel {
^
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:124: error: method does not override or implement a method from a supertype
@Override
^
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:129: error: method does not override or implement a method from a supertype
@Override
^
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:22: error: ExceptionOrigin is not abstract and does not override abstract method setId(Long) in Model
public class ExceptionOrigin extends AuditableModel {
^
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:37: error: method does not override or implement a method from a supertype
@Override
^
C:\erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:42: error: method does not override or implement a method from a supertype
@Override
^
7 errors

Task :modules:axelor-exception:compileJava FAILED

i did everything again, reinstalled the operating system and added it as a new project. my current error records.

errors:

PS C:\axelor-erp> ./gradlew -x test build

Task :buildSrc:compileJava UP-TO-DATE
Task :buildSrc:compileGroovy NO-SOURCE
Task :buildSrc:processResources NO-SOURCE
Task :buildSrc:classes UP-TO-DATE
Task :buildSrc:jar UP-TO-DATE
Task :buildSrc:assemble UP-TO-DATE
Task :buildSrc:compileTestJava NO-SOURCE
Task :buildSrc:compileTestGroovy NO-SOURCE
Task :buildSrc:processTestResources NO-SOURCE
Task :buildSrc:testClasses UP-TO-DATE
Task :buildSrc:test NO-SOURCE
Task :buildSrc:check UP-TO-DATE
Task :buildSrc:build UP-TO-DATE
Task :modules:axelor-tool:generateCode UP-TO-DATE
Task :modules:axelor-exception:generateCode UP-TO-DATE
Task :modules:axelor-message:generateCode UP-TO-DATE
Task :modules:axelor-admin:generateCode UP-TO-DATE
Task :modules:axelor-bpm:generateCode UP-TO-DATE
Task :modules:axelor-studio:generateCode UP-TO-DATE
Task :modules:axelor-base:generateCode UP-TO-DATE
Task :modules:axelor-bank-payment:generateCode UP-TO-DATE
Task :modules:axelor-bank-payment:xjc UP-TO-DATE
Task :modules:axelor-crm:generateCode UP-TO-DATE
Task :modules:axelor-account:generateCode UP-TO-DATE
Task :modules:axelor-purchase:generateCode UP-TO-DATE
Task :modules:axelor-stock:generateCode UP-TO-DATE
Task :modules:axelor-human-resource:generateCode UP-TO-DATE
Task :modules:axelor-project:generateCode UP-TO-DATE
Task :modules:axelor-sale:generateCode UP-TO-DATE
Task :modules:axelor-contract:generateCode UP-TO-DATE
Task :modules:axelor-business-project:generateCode UP-TO-DATE
Task :modules:axelor-supplychain:generateCode UP-TO-DATE
Task :modules:axelor-business-production:generateCode UP-TO-DATE
Task :modules:axelor-production:generateCode UP-TO-DATE
Task :modules:axelor-fleet:generateCode UP-TO-DATE
Task :modules:axelor-helpdesk:generateCode UP-TO-DATE
Task :modules:axelor-client-portal:generateCode UP-TO-DATE
Task :modules:axelor-marketing:generateCode UP-TO-DATE
Task :modules:axelor-business-support:generateCode UP-TO-DATE
Task :modules:axelor-cash-management:generateCode UP-TO-DATE
Task :modules:axelor-project-dms:generateCode UP-TO-DATE
Task :modules:axelor-talent:generateCode UP-TO-DATE
Task :modules:axelor-mobile:generateCode UP-TO-DATE
Task :modules:axelor-quality:generateCode UP-TO-DATE
Task :modules:axelor-maintenance:generateCode UP-TO-DATE
Task :modules:axelor-supplier-management:generateCode UP-TO-DATE
Task :modules:axelor-admin:processResources UP-TO-DATE
Task :generateCode UP-TO-DATE
Task :processResources UP-TO-DATE
Task :modules:axelor-business-production:processResources UP-TO-DATE
Task :modules:axelor-supplier-portal:generateCode UP-TO-DATE
Task :modules:axelor-business-project:processResources UP-TO-DATE
Task :modules:axelor-business-support:processResources UP-TO-DATE
Task :modules:axelor-bank-payment:processResources UP-TO-DATE
Task :modules:axelor-client-portal:processResources UP-TO-DATE
Task :modules:axelor-account:processResources UP-TO-DATE
Task :modules:axelor-crm:processResources UP-TO-DATE
Task :modules:axelor-bpm:processResources UP-TO-DATE
Task :copyWebapp UP-TO-DATE
Task :modules:axelor-maintenance:processResources UP-TO-DATE
Task :modules:axelor-base:processResources UP-TO-DATE
Task :modules:axelor-marketing:processResources UP-TO-DATE
Task :modules:axelor-mobile:processResources UP-TO-DATE
Task :modules:axelor-message:processResources UP-TO-DATE
Task :modules:axelor-fleet:processResources UP-TO-DATE
Task :modules:axelor-cash-management:processResources UP-TO-DATE
Task :modules:axelor-helpdesk:processResources UP-TO-DATE
Task :modules:axelor-project-dms:processResources UP-TO-DATE
Task :modules:axelor-purchase:processResources UP-TO-DATE
Task :modules:axelor-project:processResources UP-TO-DATE
Task :modules:axelor-contract:processResources UP-TO-DATE
Task :modules:axelor-sale:processResources UP-TO-DATE
Task :modules:axelor-quality:processResources UP-TO-DATE
Task :modules:axelor-supplier-portal:processResources UP-TO-DATE
Task :modules:axelor-supplier-management:processResources UP-TO-DATE
Task :modules:axelor-production:processResources UP-TO-DATE
Task :modules:axelor-tool:processResources UP-TO-DATE
Task :modules:axelor-talent:processResources UP-TO-DATE
Task :modules:axelor-stock:processResources UP-TO-DATE
Task :modules:axelor-human-resource:processResources UP-TO-DATE
Task :modules:axelor-studio:processResources UP-TO-DATE
Task :modules:axelor-supplychain:processResources UP-TO-DATE

Task :modules:axelor-exception:compileJava
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\src\main\java\com\axelor\exception\service\TraceBackService.java:79: error: cannot find symbol
.setInternalUser(AuthUtils.getUser());
^
symbol: method setInternalUser(User)
location: variable traceBack of type TraceBack
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:40: error: TraceBack is not abstract and does not override abstract method setId(Long) in Model
public class TraceBack extends AuditableModel {
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:124: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:129: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:22: error: ExceptionOrigin is not abstract and does not override abstract method setId(Long) in Model
public class ExceptionOrigin extends AuditableModel {
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:37: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:42: error: method does not override or implement a method from a supertype
@Override
^
7 errors

Task :modules:axelor-exception:compileJava FAILED
Task :spotlessJava

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‹ :modules:axelor-exception:compileJava ›.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BU¦LD FAILED in 1m 6s
71 actionable tasks: 2 executed, 69 up-to-date

i updated gradle versıon to 6.8.3 and buıld ıts ok. but when ı try to run its stıll not workıng. java versıon 8. wındows 10 64 bıt ıntellıjda

C:\axelor-erp> ./gradlew generateLauncher

Task :buildSrc:compileJava UP-TO-DATE
Task :buildSrc:compileGroovy NO-SOURCE
Task :buildSrc:processResources NO-SOURCE
Task :buildSrc:classes UP-TO-DATE
Task :buildSrc:jar UP-TO-DATE
Task :buildSrc:assemble UP-TO-DATE
Task :buildSrc:compileTestJava NO-SOURCE
Task :buildSrc:compileTestGroovy NO-SOURCE
Task :buildSrc:processTestResources NO-SOURCE
Task :buildSrc:testClasses UP-TO-DATE
Task :buildSrc:test NO-SOURCE
Task :buildSrc:check UP-TO-DATE
Task :buildSrc:build UP-TO-DATE
Task :modules:axelor-tool:generateCode UP-TO-DATE
Task :modules:axelor-exception:generateCode UP-TO-DATE
Task :modules:axelor-admin:generateCode UP-TO-DATE
Task :modules:axelor-bpm:generateCode UP-TO-DATE
Task :modules:axelor-studio:generateCode UP-TO-DATE
Task :modules:axelor-message:generateCode UP-TO-DATE
Task :modules:axelor-base:generateCode UP-TO-DATE
Task :modules:axelor-bank-payment:generateCode UP-TO-DATE
Task :modules:axelor-bank-payment:xjc UP-TO-DATE
Task :modules:axelor-crm:generateCode UP-TO-DATE
Task :modules:axelor-purchase:generateCode UP-TO-DATE
Task :modules:axelor-account:generateCode UP-TO-DATE
Task :modules:axelor-sale:generateCode UP-TO-DATE
Task :modules:axelor-stock:generateCode UP-TO-DATE

Task :modules:axelor-exception:compileJava FAILED
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\src\main\java\com\axelor\exception\service\TraceBackService.java:78: error: cannot find symbol
traceBack.setInternalUser(AuthUtils.getUser());
^
symbol: method setInternalUser(User)
location: variable traceBack of type TraceBack
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:40: error: TraceBack is not abstract and does not override abstract method setId(Long) in Model
public class TraceBack extends AuditableModel {
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:124: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\TraceBack.java:129: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:22: error: ExceptionOrigin is not abstract and does not override abstract method setId(Long) in Model
public class ExceptionOrigin extends AuditableModel {
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:37: error: method does not override or implement a method from a supertype
@Override
^
C:\axelor-erp\modules\axelor-open-suite\axelor-exception\build\src-gen\java\com\axelor\exception\db\ExceptionOrigin.java:42: error: method does not override or implement a method from a supertype
@Override
^
7 errors

Task :modules:axelor-project:generateCode
Task :modules:axelor-contract:generateCode
Task :modules:axelor-human-resource:generateCode
Task :modules:axelor-supplychain:generateCode
Task :modules:axelor-business-project:generateCode
Task :modules:axelor-business-production:generateCode
Task :generateCode

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‹ :modules:axelor-exception:compileJava ›.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Can you test with gradle 4.7 ? I currently use this version and it work.

1 J'aime