Skip to main content

All Questions

Tagged with
0 votes
0 answers
8 views

open api generator kotlin gradle dsl - cant generate specific api endpoint

i am using open api generator kotlin dsl build.kts gradle task version 7.0.1 to generate spring 2.7.18 web clients expected: generate 1x MeterApisAPi and 1x model openApiGenerate { globalProperties....
tytx t's user avatar
  • 1
0 votes
0 answers
59 views

Migrating to spring 3.3.0+ version, causes issues with wiremock

im trying to update from spring-boot 3.1.9 to 3.3.1. When i update the version, tests using wiremock start failing. I read about the standalone version, and have updated my gradle script accordingly ...
perorororo's user avatar
0 votes
1 answer
24 views

Gradle properties in Spring banner

I'm recently moving from maven to gradle and I would like to access some project variables as I was doing in maven, from my application.yml. In my other project I would define in my pom.xml <...
pedro appel's user avatar
2 votes
1 answer
40 views

Use a different maven repository per build in gradle

I have a spring/gradle/kotlin backend Application, that I have to build in 2 networks. One has internet, the other does not, but it has a private maven repository. Example part of build.gradle.kts: ......
Tamás's user avatar
  • 39
0 votes
1 answer
98 views

Cannot resolve symbol 'NotEmpty' using SpringBoot 3.x [duplicate]

I'm starting to study JavaSpring and I want to validate the attributes of my class. I'm using this annotation: @NotEmpty to validate the fields. However, I am receiving the following message: Cannot ...
Toquinhoro's user avatar
0 votes
0 answers
23 views

Overriding Spring datasource properties for integrationTest with testcontainer DB credentials in SpringBoot application

I have setup a gradle Spring boot application where I am trying to execute the build process using a testcontainer. Here is what I wanted to achieve when I run .\gradlew clean build Start a MySql ...
Debapriya Patra's user avatar
1 vote
1 answer
67 views

How to solve 'PropertyPlaceholderAutoConfiguration.propertySourcesPlaceholderConfigurer' in springboot?

I have been trying to upgrade my springboot application to Java 21 (the previous one was Java 17) and gradle version to 8.7. My spring boot version was '2.5.4' and now I have changed to '3.1.11' Now, ...
Jansen Miotto's user avatar
0 votes
1 answer
175 views

org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk-17\bin\java.exe'' finished with non-zero exit value 1

I have downloaded the Spring Initializer startup file to run the SpringApplication file and have been getting exceptions ever since. When I run the SpringApplication.java file on IntelliJ, I get the ...
Rezi Ogbogbaidi's user avatar
-1 votes
1 answer
29 views

Restrict number of running Spring instances when running Gradle tests

We're developing a Spring Boot project. We have a lot of integration tests which start up the whole application. The application has a lot of configurable stuff which means a lot of the test classes ...
Marcel's user avatar
  • 4,262
0 votes
0 answers
29 views

java.lang.NoClassDefFoundError: org/springframework/util/ConcurrentReferenceHashMap$EntrySet

Try running the gradle jettyrun command, however it always fails with the error shown below. Caused by: org.gradle.internal.UncheckedException: java.lang.Exception: org/springframework/util/...
Jeetu Gawade's user avatar
1 vote
1 answer
83 views

Gradle: How to share build logic between subprojects?

I am a native Maven user and Gradle is new territory for me. I'm trying to build a multi-module project around a Spring application. Now I am facing the following problems: i want Kotlin (plugins and ...
Dominic's user avatar
  • 90
0 votes
0 answers
42 views

Java compile process throws error before OpenApi generates code

I'm building a REST:API with Spring Boot and I'm using the OpenAPI plugin to generate my stubs and DTO's (Ao's). I already used the OpenAPI plugin in another project which worked perfectly fine. But ...
StefanoF02's user avatar
0 votes
1 answer
31 views

Java failed to build .jar with Spring Boot

I try to build .jar with Spring Boot for Java8. But,I get this message. An exception occurred applying plugin request [id: 'org.springframework.boot', version: '1.5.21.RELEASE'] Failed to apply plugin ...
Regina's user avatar
  • 1
0 votes
1 answer
54 views

npmInstall FAILED with jdk 17 and gradle 7.4

I am in process of migrating jdk 11 to jdk 17, and updating gradle version from 6.6.1 to 7.4 After changing versions, I tried making war using gradle war command but it failed at this point - > ...
Arjun's user avatar
  • 13
2 votes
0 answers
79 views

How to configure Gradle to initialize specific modules at runtime when generating a native image with GraalVM?

I am trying to generate a native image with GraalVM using the graalvmNative plugin in Gradle. With simple projects, it works fine when I just apply the org.graalvm.buildtools plugin. However, when I ...
mohamed hamada's user avatar

15 30 50 per page
1
2 3 4 5
105