563 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
1
replies
58
views
OpenAPI Generator Maven Plugin: $ref target pointing to schema instead of Response object - SpecValidationException
Problem
I'm using the OpenAPI Generator Maven Plugin (v7.3.0) to generate Java client code from a remote OpenAPI specification. The build fails with validation errors indicating that response $ref ...
1
vote
1
answer
72
views
Drools cannot load DRL files from multiple folders inside Spring Boot executable JAR (LaunchedURLClassLoader issue)
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 ...
-5
votes
2
answers
122
views
How to add FreeType lib to Ubuntu Noble run image?
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 ...
0
votes
0
answers
80
views
Implement permify in Spring boot application
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 ...
0
votes
0
answers
51
views
Spring Boot Integration Tests without MBean Server
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 ...
0
votes
0
answers
34
views
Share Maven plugin configurations
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 ...
2
votes
2
answers
686
views
Invalid buildpack reference 'gcr.io/paketo-buildpacks/adoptium'
My Spring Boot (3.4.4) application was built with Cloud Native Buildpacks. Unfortunately, the build is not working anymore.
Configuration
<execution>
<configuration>
<image&...
2
votes
1
answer
97
views
Maven downgrades transitive dependency scopes
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 ...
0
votes
0
answers
55
views
Recompiling Java code results in AspectJ binding error
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 ...
1
vote
0
answers
57
views
Spring boot maven integration test shuts down abruptly added in pom.xml for openapi swagger documentation
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 ...
0
votes
0
answers
57
views
Spring Boot Maven Plugin does not pickup test properties or ansible properties for integration tests
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>`
<...
0
votes
0
answers
34
views
Connect Keycloak code base from githup to a PostgreSQL database locally
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 ...
0
votes
0
answers
124
views
Maven build fails in Docker: "Failed to execute goal maven-resources-plugin:3.2.0:resources - Function not implemented"
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]...
0
votes
1
answer
213
views
Add volumes to docker image using Paketo for Spring Boot
How to add specific volumes to the image using Paketo and build-pack:
Example :
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-...
2
votes
2
answers
485
views
How to run health check with Spring Boot 3.4?
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 ...