You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i get an error about a proxy being created for JobOperator when creating a GraalVM native image with the following java code and build file:
build file
Here's the build file:
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.1.0'
id 'org.graalvm.buildtools.native' version '0.9.18'
}
group ='com.example'
version ='0.0.1-SNAPSHOT'
sourceCompatibility ='17'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.postgresql:postgresql'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.batch:spring-batch-test'
}
tasks.named('test') {
useJUnitPlatform()
}
As mentioned by @hpoettker, this has been already reported in #4248. The fix will be included in the upcoming 5.0.1 (and is already available in the snapshots).
i get an error about a proxy being created for
JobOperator
when creating a GraalVM native image with the following java code and build file:build file
Here's the build file:
Java code
It runs fine on the JRE. And obviously, if I register the hint, it works fine too:
and
The text was updated successfully, but these errors were encountered: