I am using an external dependency in my SpringBootApplication. The main class is defined as @ConfigurationPropertiesScan @EnableConfigurationProperties @SpringB
Built failed while creating aws-sdk-v2 jars due to spotbugs plugin. Steps to reproduce the error: clone latest version of aws-sdk-java-v2 In terminal, go to dir
I am using Intellij for a servlet project and using maven <dependency> <groupId>mysql</groupId> <artifactId>mysql-conn
In the "Project Explorer" view of a maven project, instead of showing errors (compilation) in the project itself (red blade), they appear at the level of the fo
I am using Intellij for a servlet project and using maven <dependency> <groupId>mysql</groupId> <artifactId>mysql-conn
I have a spring boot project running on java8 after I installed mysql8 server and tried to connect I am getting the error com.mysql.jdbc.exceptions.jdbc4.MySQ
I am trying to use maven jar a file with a specific filename. <fileName> ${project.build.directory}/${project.artifactId}-${project.version}-SAMLGr
I'm getting started with GoogleCloudPlatform - I want to use it from Java on my Mac. I have followed the various installation instructions and have (presumably)
I checked out Ballerina and built using mvn clean install. I get the following error. [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven->plu
I have included all the jars in the POM file as follows: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xml
Using spring boot 2.6.2, with java17, trying to create native image but it fails with below error. I am building it on windows 11 machine with docker desktop i
java.lang.NoClassDefFoundError: io/jsonwebtoken/Jwts When I run locally with mvn spring-boot:run , there's no problem. But when I package my application into
I'm using OpenJDK 11 on Windows 10. I have a very simple POM, for a single Java file, that generates Javadocs. Here is an extract: <properties> <pro
I'm trying to get a simple junit test running with maven but it is not detecting any tests. Where am I going wrong? The project directory Project -> src ->
I have a SpringBoot service: package test; @Service public class TestService { @Value("${service.readTimeout}") private Duration readTimeout; } service
I'm attempting to create a pom that will: Use correct JDK from maven-toolchains-plugin based on java.version property. Activate appropriate profile based on re
I have created Maven Web application and I generally use mvn clean install So it execute npm install command as its one of the execution goal and then it ru
I am trying to run an IT test using a MongoDB test container. However, I get the following error when I run the test com.github.dockerjava.api.exception.Interna
I am honestly about to just give up, i've tried so many different possibilities, for multiple weeks now, almost a month, of multiple problems. I am a new-ish pr
I try to build maven project using dockerfile, but i got this error when i use command docker build /bin/sh: 1: ./mvnw: not found i had try this solution :