Category "maven"

Upgrading spring boot to 2.5.12

I am upgrading spring boot version to 2.5.12 from 2.3.10.RELEASE because of the vulnerability issues. But I am getting below error while starting the applicatio

How to disable Spring Cloud Kubernetes in a Maven build

Running Spring Boot 2.6.6 and Spring Cloud 2021.0.1 I'm attempting to migrate an existing service to Kubernetes so I added a dependency on spring-cloud-starter-

maven error: Could not find artifact hosted in private github repository

Iam trying to pull an artifact hosted in github(company's private repo) but it is throwing an error: [INFO] Scanning for projects... [INFO] [INFO] ------------

Intellij and jar file: No Persistence provider for EntityManager named xxx

I use intellij to create a jar package, but it does not work correctly. After it is created and all the external library jar files are created as well, when I s

org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar failed: An API incompatibility was encountered while executing

my Software version sonarqube 7.0 maven: 3.6.3 jdk: 17 sonar-maven-plugin: 3.8.0.2131 when I run mvn --batch-mode clean verify org.sonarsource.scanner.maven:so

bean creation error when starting spring boot application

When i try to run my spring boot application i get this Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conf

Running Cucumber in Springboot with Maven in executable JAR

Hello fellow engineers! I have run into a problem when trying to create a FAT jar to execute the Cucumber tests. Initially, I have followed the guide to set up

Jdeps Module java.annotation not found

I'm trying to create a minimal jre for Spring Boot microservices using jdeps and jlink, but I'm getting the following error when I get to the using jdeps part E

Unable to find a 'com.okta.sdk.impl.http.RequestExecutorFactory'

I have a java web application secured with OKTA. I have the below code which throws the below exception, Client client = Clients.builder() .

Proguard plugin is giving error: Failed to execute goal: proguard (default) on project X: Obfuscation failed (result=1)

I am working on an open source Java Maven project which is using proguard-maven-plugin to obfuscate the application code. It is working fine until I have added

While building the project getting error , Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs)

<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.

Problem with java classes generation from wsdl

I am trying to generate Java classes from this WSDL https://sedo.fss.ru/sedo-gateway/api/soap/SedoGateway?wsdl. I tried to do it with wsdl2java util, wsimport u

Maven use dependency from dependency

I have 3 proyects on maven, A, B and C B has a dependency to C. And A has a dependency to C. This is my pom From C <?xml version="1.0" encoding="UTF-8"?>

Blank console upon trying to run cucumber feature file

I am trying to run a Cucumber feature file by Right Click > Run As > Feature File. But no action is triggered. Blank console output. What may be the case?

java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.insertOne exception when inserting entry to Javers Mongodb collection

I am able to insert the data to mongodb collection. Same time Javers framework trying to insert the data to jv_snapshots collection. Data insertion to jv_snapsh

Connection refused trying to connect spring boot application in docker

I try to run spring boot application in Docker, Circle CI. Please, check how my .circleci/config.yml file looks like: version: 2.1 jobs: test: docker:

JavaFX give error after requires in pom file using maven

I'm currently creating project with blocks that can be connected (like blender or UE). And I found github project (VWorkflows) that I connected using its tutori

Java 17 and maven-archetype-quickstart gives error: Source Option 5 is no longer supported

When using the maven command to create a simple Maven project (with the latest versions of maven and java), I get the error: [ERROR] Source option 5 is no longe

Building multi-module maven project for SonarCloud

I am building a maven project of X amount of modules for the first time for SonarCloud. The sonar.projectKey value needs to be unique, so I set it to ${project.

rename maven jar-with-dependencies

My plugin section in the pom file looks like this: <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.