Closed jsybf closed 7 months ago
also here is my build.gradle
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-neo4j'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('bootBuildImage') {
builder = 'paketobuildpacks/builder-jammy-base:latest'
}
tasks.named('test') {
useJUnitPlatform()
}
You need to compile with the -parameters
flag activated. This preserves the parameter names of methods, constructors, etc. after build-time. Please run the Rebuild project process from the Build menu again afterwards. A simple Build Project will not replace the byte code.
This is usually automatically configured by the Spring Boot plugin, when you are using the gradle-based build option in the preferences, you have shown.
Side note: I think it shouldn't have worked since Spring Boot 3.0 already.
thank you! after adding -parameters
it works in intellij build
this is my firstime asking question to github, impressed by your detailed answer!!
You're welcome. Closing this issue now.
it's my code
what's problem
Using spring-boot 3.2.2 & build by intellij build cause two error(full error log is in below)
cf