Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute Axelor from the Source - challenge #98

Open
sunflashke opened this issue Mar 6, 2024 · 1 comment
Open

Execute Axelor from the Source - challenge #98

sunflashke opened this issue Mar 6, 2024 · 1 comment

Comments

@sunflashke
Copy link

How can i set up the axelor and run it from the source code (inteliJ IDEA)

i get below errors, Please assist me sort it i am new to this and especially Gradle

FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\2024\Axelor 24\open-suite-webapp\build.gradle' line: 6

  • What went wrong:
    Plugin [id: 'com.axelor.app', version: '8.0.1'] was not found in any of the following sources:

  • 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.

BUILD FAILED in 8s
2 actionable tasks: 2 up-to-date

@sunflashke
Copy link
Author

  • What went wrong:
    A problem occurred configuring root project 'axelor-erp'.

Could not resolve all files for configuration ':classpath'.
Could not resolve com.axelor:axelor-gradle:7.0.3.
Required by:
project : > com.axelor.app:com.axelor.app.gradle.plugin:7.0.3
> No matching variant of com.axelor:axelor-gradle:7.0.3 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5.1' but:
- Variant 'apiElements' capability com.axelor:axelor-gradle:7.0.3 declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')
- Variant 'runtimeElements' capability com.axelor:axelor-gradle:7.0.3 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant