skip to Main Content

Dependency 'mysql:mysql-connector-java:' not found

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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.7.10</version> <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>com.example</groupId> <artifactId>demo</artifactId> <version>0.0.1-SNAPSHOT</version> <name>demo</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency>…

VIEW QUESTION

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
Back To Top
Search