skip to Main Content

Cannot start Open Liberty server: Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.7.1:dev – Ubuntu

I'm trying to run an Open Liberty server on Ubuntu 18.04, but getting the following error when when executing mvn liberty:dev: Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.7.1:dev (default- cli) on project hello-world: org.apache.maven.plugin.MojoExecutionException: Unable to resolve artifact: io.openliberty.features:io.openliberty.jakarta.persistence.base- 3.1:23.0.0.3: Failure to…

VIEW QUESTION

Getting NoClassDefFound while running jar in docker

I have added 3 external jars which is not present on the maven repository. I mentioned external jars as a system scope in pom.xml file - <dependency> <groupId>org.suitetalk</groupId> <artifactId>suitetalk-axis-proxy-v2022_1</artifactId> <version>1.0.0</version> <scope>system</scope> <type>jar</type> <systemPath>${pom.basedir}/libs/suitetalk-axis-proxy-v2022_1-1.0.0.jar</systemPath> </dependency> In STS/Eclipse, the project is not…

VIEW QUESTION

Idea Intellij: Error:java: error: release version 20 not supported, maven.compiler.target in pom.xml – Ubuntu

I have a Idea Intellij project like this: Test.java: public class Test { public static void main(String[] args) { System.out.println("Test"); } } pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.target>20</maven.compiler.target> <maven.compiler.source>20</maven.compiler.source> </properties> </project>…

VIEW QUESTION

java.lang.NoSuchMethodError when using spring-social-twitter – Twitter API

I try using Twitter API via Spring library spring-social-twitter. However I'm when calling sendDirectMessage(String toScreenName, String text) function I get the following exception: java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.http.client.ClientHttpResponse.getStatusCode()' at org.springframework.social.twitter.api.impl.TwitterErrorHandler.handleError(TwitterErrorHandler.java:56) ~[spring-social-twitter-1.1.0.RELEASE.jar:1.1.0.RELEASE] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-6.0.4.jar:6.0.4] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:915) ~[spring-web-6.0.4.jar:6.0.4] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:864) ~[spring-web-6.0.4.jar:6.0.4] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:804)…

VIEW QUESTION
Back To Top
Search