Circular placeholder reference when running mvn clean -Pnative native:compile #39836
Labels
for: stackoverflow
A question that's better suited to stackoverflow.com
status: invalid
An issue that we don't feel is valid
Hello, I'm trying to compile a spring boot 3.2.2 application using maven (
mvn clean -Pnative native:compile
) and it fails with the following error message:The application.yaml file has this configuration:
Where the
liquibase.url
is using the same env var asdatasource.url
. If I change the liquibase.url value to something else the compilation succeeds. Is this expected, is there a workaround besides adding another environment variable? Attached is a sample application.I'm using the following Java version:
I spoke with the GraalVM dev team and they told me the following:
correct me if I am wrong but this build has never reached the native-image builder. It seems to fail in java in the following task:
org.springframework.boot:spring-boot-maven-plugin:3.2.2:process-aot
. If this is the case, it would be the best to report this ticket to the Spring Boot issue trackerThanks
Andy
customer32.zip
The text was updated successfully, but these errors were encountered: