Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

I am using Drools 10.1.0 (drools-xml-support) with Spring Boot, and I have a kmodule.xml with two KBases, each pointing to a different folder. In IntelliJ/IDE everything works perfectly. But when I ...
JavaLearner's user avatar
-5 votes
1 answer
100 views

In my Spring Boot application, I need fonts for Excel generation, so I used paketobuildpacks/builder-jammy-base as a build image with Spring Boot 3.4. With Spring Boot 3.5 the default builder is ...
dur's user avatar
  • 17.3k
0 votes
0 answers
74 views

I am trying to implement permify authorisation in my spring boot application. I want to know how can I upload schema to permify database inorder to create relationships. Can someone provide the ...
Sooraj Sureshkumar's user avatar
0 votes
0 answers
47 views

Running Integration Tests with Maven verify (./mvnw verify) fails using the Spring Boot Maven Plugin. Spring Boot 3.4.6 Java 21 This fails because it relies on an MBean Server running. [ERROR] Failed ...
DJViking's user avatar
  • 911
0 votes
0 answers
31 views

In my projects want to use some common Maven plugin configurations like spotless and enforcer to ensure some consistency across all projects. So, I put these plugins into a parent pom that I inherit ...
conspicillatus's user avatar
2 votes
2 answers
649 views

My Spring Boot (3.4.4) application was built with Cloud Native Buildpacks. Unfortunately, the build is not working anymore. Configuration <execution> <configuration> <image&...
dur's user avatar
  • 17.3k
2 votes
1 answer
87 views

Let's assume I have a simple Java project. For some reason I need, let's say, some StringUtil class in my tests. So, I add the dependency with a test scope. This works fine and it as it should be. But ...
Florian Schaetz's user avatar
0 votes
0 answers
36 views

I have acquired a Spring Boot application from my predecessor last September. A few months ago, one colleague found out that the last code checked in by my predecessor is not representing the last ...
Sae1962's user avatar
  • 1,298
1 vote
0 answers
56 views

Relating to my first question which is this I supplied the data in application.properties file and then somehow the app started and then suddenly it shut down without any reason. Please check below ...
samk5049's user avatar
0 votes
0 answers
56 views

I am trying to run openapi springdoc for my application for which I am using <groupId>org.springdoc</groupId>` <artifactId>springdoc-openapi-maven-plugin</artifactId>` <...
samk5049's user avatar
0 votes
0 answers
33 views

I am trying to connect Keycloak to a PostgreSQL database, keycloak project is written in springboot and Keycloak is failing to recognize the PostgreSQL JDBC driver, showing the error: "Driver ...
Anshika ghosh's user avatar
0 votes
0 answers
108 views

I'm trying to containerise a Java Spring Boot application using Maven and Docker, but my build consistently fails inside the Docker container at the maven-resources-plugin step with the error: [ERROR]...
Olive's user avatar
  • 1
0 votes
1 answer
197 views

How to add specific volumes to the image using Paketo and build-pack: Example : <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-...
med_alpa's user avatar
  • 329
2 votes
2 answers
467 views

I upgraded my application to Spring Boot 3.4 and the health check is not working anymore. What do I need to change to make the health check work again? Logs If I call docker container inspect, I see ...
dur's user avatar
  • 17.3k
1 vote
0 answers
94 views

I've been struggling with this all day. Setup: spring boot 3.4.2 Java 23 Maven 3.9.9 Using: mvn clean spring-boot:build-image builds the image but when trying to push to github container registry I ...
user3465651's user avatar
1 vote
2 answers
1k views

Lombok doesn't work in SpringBoot 3.4.1. but IntelliJ IDE doesn't show any errors. But during compile time, every code that generates from Lombok getting notFound() error. I tried every possible ...
Sena.D's user avatar
  • 11
0 votes
0 answers
47 views

I have a Spring Boot application which can run with Azure or GCP. The bean creation for a specific cloud provider is controlled using Spring profile. Maven is used to create the executable JAR using ...
pradhan's user avatar
  • 43
0 votes
2 answers
212 views

I have a Spring Boot project. When I run mvnw spring-boot:build-image it fails with following error: [INFO] <<< spring-boot:3.1.12:build-image (default-cli) < package @ perftest <<&...
Tomas Laubr's user avatar
1 vote
1 answer
205 views

I use spring-boot-maven-plugin to build docker images. Under the hood, this uses buildpacks (paketo). My knowledge around buildpacks is very limited. The problem is a new requirement: we will use the ...
Alkis Mavridis's user avatar
0 votes
1 answer
261 views

It looks like spring-boot:build-image does not respect the DOCKER_HOST environment variable which is on my host: unix:///run/user/1000/docker.sock Ubuntu Installation Installation of Docker CE ...
D. Kellenberger's user avatar
0 votes
1 answer
320 views

I created a simple project to showcase my problem: https://github.com/sentinel0815/testing-spring-boot-app This is a maven multi module project (reactor) having only a spring boot application class ...
Chris Brown's user avatar
0 votes
2 answers
52 views

I am trying to copy an old POM, and build my own Java Springboot backend. I am learning about controling the build. In the lectureres, in the POM --server.port=${tomcat.http.port} is automatically ...
Richard Smith-Uchotski's user avatar
0 votes
0 answers
113 views

I'm moving from a classic jar deployment to a containerized deployment of my java 21 application. For that purpose I like to create my container image with spring-boot-maven-plugin with the goal build-...
Alexander Widera's user avatar
0 votes
0 answers
127 views

I have followed different recommendations, here, here , here and here. All are answered with the idea that volume mounting is supported. I run my build in Gitlab, and we have a policy, we do not ...
ielkhalloufi's user avatar
0 votes
1 answer
379 views

I upgraded my application from Spring Boot 3.1 to Spring Boot 3.3. After upgrading the Paketo Buildpack for Health Checkers is not working anymore. It uses the wrong port. My health endpoint is on ...
dur's user avatar
  • 17.3k
1 vote
3 answers
815 views

Trying to build an Image of loans application with BuildPacks approach, getting this below error pom.xml : <?xml version="1.0" encoding="UTF-8"?> <project xmlns="...
Kartik M's user avatar
0 votes
1 answer
127 views

Error while compiling and running spring boot project in intellij and vscode press here to see the error [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-parseable ...
Shyam B's user avatar
-1 votes
1 answer
236 views

I am learning Spring Boot and using Thymeleaf in my project. When I replace the header code as a separate file in the same folder and use Thymeleaf's replace syntax, the CSS, JS, and Bootstrap code is ...
Ankit Vishwakarma's user avatar
0 votes
0 answers
59 views

Is there a way to include additional dependencies or jar file in a Spring bootable jar? I'm using the spring-boot-maven-plugin outside of a spring project to generate a bootable jar. This works fine, ...
tbeernot's user avatar
  • 2,680
4 votes
0 answers
137 views

In my Spring Boot project, I want to exclude provided and transitive dependencies from the provided dependency when packaging a jar or war using the spring-boot-maven-plugin As in image above, I want ...
Ravi Ranjan's user avatar
0 votes
0 answers
751 views

This is a project I cloned from GitHub (my friend initialized the Spring Boot project and everything). However, my VS Code shows that it does not recognize all of the Spring Boot packages and other ...
nyoung's user avatar
  • 1
0 votes
1 answer
1k views

Just wanted to know in detail. How embedded tomcat works in springboot application ?. How it executes the appplication jar. please share the link to study about springboot embedded server. I tried ...
Avinash's user avatar
0 votes
0 answers
68 views

I am having Spring Boot version 2.5.5 in my project. I am getting below error while running the project. I think , I'm having some version issue with Spring Boot. I also try to upgrade the version of ...
Dharmin Patel's user avatar
2 votes
1 answer
4k views

so ive been looking up on diffrent solutions for the problem, im using intelij idea, what im tryng to do is set up microservices where my order service communicates to product service via API-Gateway, ...
Ahad Elimb's user avatar
1 vote
0 answers
115 views

I have a multi-module application which has a java HTTP application (springboot, java 11) in one module and scala code in the second module. The second module is included as a dependency in the first ...
Alokh P's user avatar
  • 11
0 votes
0 answers
30 views

I've a spring-boot application with maven, the final jar is of 96MB+ and I want to reduce that jar size by excluding dependencies jars from final jar and keeping them in one remote location and ...
Mahesh 's user avatar
1 vote
0 answers
54 views

I want to create a Springboot project with java 8 inn Intellij but I couldn't: when i tried to create the standard way I only find Java 17 and 21 to choose from: enter image description here After ...
nas gr's user avatar
  • 21
0 votes
0 answers
57 views

Started learning Spring framework, but I have a problem where by my project builds successfully but it wont finish running... pom file <?xml version="1.0" encoding="UTF-8"?> &...
siv.ncapayi's user avatar
1 vote
1 answer
356 views

I tried 2.8x to 2.9x but my import for kafka is not working these imports they are unable to find after kafka plugin org.springframework.kafka spring-kafka 2.8.0 just tell me the version to go with ? ...
alfosa's user avatar
  • 21
1 vote
0 answers
297 views

After upgrading springboot to 3.2.1 maven surefire plugin error is shown only in Jenkins. On local everything is passing. Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.1.2:...
SeleniumLearner's user avatar
3 votes
0 answers
6k views

my old projects are working fine after I created new projects not even one new works now **with this the database is created but inside database the table is not created. also when I run spring boot I ...
LATTEY ASh's user avatar
0 votes
0 answers
28 views

I am creating a spring boot application, wherein any client can submit the request, these request can be GET, PUT, POST, DELETE. I'm getting the below error and I'm able not to fix it after soo many ...
Dheeraj A Kumar's user avatar
-1 votes
2 answers
2k views

When trying to run my application i am getting an error like this java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder.<init>([Ljava/lang/Object;)V at org....
user19373833's user avatar
-2 votes
1 answer
61 views

This step would need to be added: apt install -y libjemalloc-dev Can this configuration be extended with or without a Dockerfile to include a library, in this case libjemalloc? <plugin> ...
Andras Hatvani's user avatar
0 votes
1 answer
106 views

Spring Boot 3.2 allows starting the application from a main method defined in the test scope. For example: @TestConfiguration(proxyBeanMethods = false) class TestBootstrap { @Bean @...
Johan's user avatar
  • 41.2k
0 votes
1 answer
6k views

WHILE TRYING TO RUN MY SPRING APPLICATION WITH THE FOLLOWING pom.xml WITH JAVA 17 INSTALLED IN MY SYSTEM I AM FACED WITH THE FOLLOWING ERROR WHILE RUNNING mvn clean install I GET THE FOLLOWING ERROR ...
Yashdeep Singh's user avatar
1 vote
0 answers
296 views

I have Springboot multi module library project with Gradle 7.4 and Springboot 3.2 as below buildscript { dependencies { classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4....
OTUser's user avatar
  • 3,858
2 votes
0 answers
1k views

I have just created a Spring Boot application with a generic model/service/dto/controller/repository and wanted to test it for the first time on a mysql database. When I run the application, it offers ...
clara bella's user avatar
0 votes
1 answer
103 views

I started to use maven to create a Spring boot app. I wan't to deploy the project using maven commands. Here is my file application.properties spring.config.import=optional:file:env.properties spring....
Koxi's user avatar
  • 1
0 votes
1 answer
529 views

I am working on a springboot project where the generated spring executable jar has the following structure. BOOT-INF/ ----classes/ <nothing inside classes> ----lib/ ---------myDependency.jar ----...
user3001381's user avatar

1
2 3 4 5
12