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

Webservice does not build #109

Open
GordianDziwis opened this issue May 14, 2021 · 4 comments
Open

Webservice does not build #109

GordianDziwis opened this issue May 14, 2021 · 4 comments
Assignees

Comments

@GordianDziwis
Copy link

mvn -pl rdfunit-validate -am clean install jetty:run

Result:

[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/beavis/.m2/repository), central (https://repo1.maven.org/maven2)] -> [Help 1]
mvn clean install

Result:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project rdfunit-model: Compilation failure
[ERROR] /home/beavis/repositories/RDFUnit/rdfunit-model/src/main/java/org/aksw/rdfunit/model/interfaces/TestCaseGroup.java:[39,17] incompatible types: inference variable D has incompatible equality constraints java.util.List<org.aksw.rdfunit.model.interfaces.results.TestCaseResult>,java.util.List<org.aksw.rdfunit.model.interfaces.results.ShaclLiteTestCaseResult>
@GordianDziwis
Copy link
Author

mvn clean install built after setting JAVA_HOME to java8.
But then

mvn jetty:run

Throws:

[ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:11.0.0:run (default-cli) on project rdfunit-validate: Execution default-cli of goal org.eclipse.jetty:jetty-maven-plugin:11.0.0:run failed: Unable to load the mojo 'run' in the plugin 'org.eclipse.jetty:jetty-maven-plugin:11.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/eclipse/jetty/maven/plugin/JettyRunMojo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

@jimkont
Copy link
Member

jimkont commented May 16, 2021

Thanks for the report, it was indeed an bug. we upgraded the jetty version recently which was not compatible with Java 8, I reverted to the previous version for now

@GordianDziwis
Copy link
Author

Thanks, this helped, and I was able to start the jetty server, but navigation to it gives a 503.

Here is the terminal output.

@jimkont jimkont reopened this May 17, 2021
@jimkont jimkont self-assigned this May 17, 2021
jimkont pushed a commit that referenced this issue Jun 13, 2021
@jimkont
Copy link
Member

jimkont commented Jun 13, 2021

can you try running this from the rdfunit-shacl-ws directory? with e.g.

mvn clean install
cd rdfunit-shacl-ws
mvn jetty:run

mgns pushed a commit to mgns/RDFUnit that referenced this issue Sep 28, 2022
mgns pushed a commit to mgns/RDFUnit that referenced this issue Sep 28, 2022
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

2 participants