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

Impossible to run 0.6.0 litiengine #793

Closed
bkebir opened this issue Nov 13, 2023 · 2 comments
Closed

Impossible to run 0.6.0 litiengine #793

bkebir opened this issue Nov 13, 2023 · 2 comments
Labels

Comments

@bkebir
Copy link

bkebir commented Nov 13, 2023

**Describe the bug
When you run the project that you haven't been able to run for 3 weeks (since you updated the project)

Stack trace
The error message you get either in your console or in the crash.txt file located in the root directory of your program.

“resource”: "/d:/Université/M2/Dev Logiciel Libre/litiengine/build.gradle",
“owner”: "_generated_diagnostic_collection_name_#3",
“code”: “0”,
“severity”: 8,
“message”: "The supplied phased action failed with an exception.\r\nA problem occurred configuring root project 'litiengine-sdk'.\r\nCould not resolve all files for configuration ':classpath'.\r\nCould not resolve de.gurkenlabs:semverguru:1.3.\r\nRequired by:\r\n project : > de.gurkenlabs.semverguru:de.gurkenlabs.semverguru.gradle.plugin:1.3\r\nNo matching variant of de.gurkenlabs:semverguru:1.3 was found. The consumer was configured to find a library for use during runtime, compatible with Java 17, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.4' but:\r\n - Variant 'apiElements' capability de.gurkenlabs:semverguru:1.3 declares a library, packaged as a jar, and its dependencies declared externally:\r\n - Incompatible because this component declares a component for use during compile-time, compatible with Java 20 and the consumer needed a component for use during runtime, compatible with Java 17\r\n - Other compatible attribute:\r\n - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')\r\n - Variant 'javadocElements' capability de.gurkenlabs:semverguru:1.3 declares a component for use during runtime, and its dependencies declared externally:\r\n - Incompatible because this component declares documentation and the consumer needed a library\r\n - Other compatible attributes:\r\n - Doesn't say anything about its target Java version (required compatibility with Java 17)\r\n - Doesn't say anything about its elements (required them packaged as a jar)\r\n - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')\r\n - Variant 'runtimeElements' capability de.gurkenlabs:semverguru:1.3 declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:\r\n - Incompatible because this component declares a component, compatible with Java 20 and the consumer needed a component, compatible with Java 17\r\n - Other compatible attribute:\r\n - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')\r\n - Variant 'sourcesElements' capability de.gurkenlabs:semverguru:1.3 declares a component for use during runtime, and its dependencies declared externally:\r\n - Incompatible because this component declares documentation and the consumer needed a library\r\n - Other compatible attributes:\r\n - Doesn't say anything about its target Java version (required compatibility with Java 17)\r\n - Doesn't say anything about its elements (required them packaged as a jar)\r\n - Doesn't say anything about org.gradle.plugin.api-version (required '8.4')",
“source”: “Java”,
“startLineNumber”: 1,
“startColumn”: 1,
“endLineNumber”: 1,
“endColumn”: 1
}]

To reproduce
Steps to reproduce the behaviour :

  1. Go to 'Run

**Expected behaviour
I want to be able to launch the project.

**Screenshots
If necessary, add screenshots to explain your problem.

Your system:

  • OPERATING SYSTEM: [e.g. Windows]
  • LITIENGINE Version: [e.g. 0.6.0]
  • Java JDK/JRE version: [for example, jdk17.0.3]
  • Screen resolution: [for example, 1920x1080].
@bkebir bkebir added the bug label Nov 13, 2023
Copy link

Thank you for your reporting your first LITIENGINE issue! We are looking forward to your further contributions.

@nightm4re94
Copy link
Member

You are trying to run the project with Java 17, but the plugin requires at least Java 20. Not a bug, since with 0.6.0 we have upgraded LITIENGINE to java 21.

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

No branches or pull requests

2 participants