All Questions
Tagged with maven dependencies
2,246
questions
0
votes
0
answers
63
views
How can I resolve CVE-2023-2976 & CVE-2023-1370 vulnerabilities in Maven guava:31.1-jre & json-smart:2.4.7 while using spring-data-commons:3.3.1?
I recently discovered CVE-2023-2976 & CVE-2023-1370 vulnerabilities in my project. According to my SCA tool, these vulnerabilities stem from my use of guava:31.1-jre and json-smart:2.4.7. I could ...
0
votes
0
answers
39
views
Apache POI Dependency in Maven Project : java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.ooxml.util.DocumentHelper
I want to export an xlsx file in a Java project, so I added the Apache POI libraries. However, it doesn't work. I removed the xerces dependency and it works, but it causes an error in the existing ...
0
votes
0
answers
35
views
Maven dependencies configuration in pom.xml [closed]
I am working on a Java project i am not an a programmer however i do it fully with chat gpt 4, sometimes it solve the problems and find the right dependencies but most of the times like now it dont ...
-1
votes
1
answer
39
views
Cannot find spring-boot-starter-oauth2-client no matter the version
I am trying to import the spring-boot-start-oauth2-client into my pom.xml. I have tried using different versions and no matter which version I use, this error pops up:
Dependency 'org.springframework....
0
votes
1
answer
49
views
How to fix a BeanCreationException for handlerExceptionResolver in Java Spring after upgrading to Spring Boot 3.x and Spring 6.x?
My application uses both Spring Boot and Spring dependencies. Due to a security vulnerability in spring-web, we have to update from 5.3.33 to 6.x. Currently we are using Spring Boot version 2.7.18, ...
0
votes
1
answer
62
views
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder
I am trying to create a data connection app to integrate with procore and am having trouble with installing my necessary dependencies.
This is my pom.xml file:
<?xml version="1.0" ...
0
votes
0
answers
25
views
Avoid cached dependencies on CLASSPATH
Hello all StackOverflowers,
We recently had a problem with our Java-setup at my company where we had cleaned up some dependencies and we thought all was well because it still compiled. However, we ...
0
votes
0
answers
22
views
Is possible to add external dependencies at my own birt project build?
I've been trying to migrate the birt to be compatible with jakarta 10 for the past few days, but I am dealing with a problem:
I need to add some jakarta related dependencies (like "jakarta....
0
votes
0
answers
38
views
Why do i get a no dependency information available error when the dependecy is not in my POM?
I had a jconn4 dependecy in my POM file on apchenetbeans I removed it as i dont need it (it never worked either) but now when I run my project i get the error 'The POM for com.sybase:jconn4:jar:7.0 is ...
0
votes
0
answers
41
views
wanted all the 3rd party dependency list in my maven project. How can I do this? [duplicate]
Required to get all the 3rd party dependencies from my Maven project.
For my case I directed mvn dependency:tree and grepped all the text which was in '{}:{}:{}:{}' format to a text file. But I ...
-1
votes
2
answers
37
views
Using maven to build dependencies within my java project
(I've been googling and searching for several days now. Time to ask humans.)
I've got a java project that I'm building with command-line maven.
The project has several dependencies to other open-...
0
votes
0
answers
14
views
presto-thrift-spec: Dependency problems found
My build is failing and here is the full description
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:analyze-only (default) on project presto-thrift-spec: ...
0
votes
1
answer
41
views
IntelliJ can't resolve classes from my library
I created a library with these pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3....
-1
votes
1
answer
33
views
Creating module only for integration tests
Lets say i have 3 modules:
core-module - core module for project
communication-api - api module exposing API's for communication services
communication-msg-impl - concrete implementation for ...
0
votes
0
answers
57
views
Use Dependency of Dependency in Maven
Our code base has several projects in it, and many of them share similar or identical dependencies, specifically Spring Boot and several Jakarta libraries, ex:
<dependency>
<groupId>...