Closed markostreich closed 3 months ago
👋 Thanks for reporting! The maintainers have been notified and will get back to you.
There a two ways to build a native image/executable under Spring:
spring-boot-maven-plugin
Builds complete docker image.
By extending the already existing build step with spring-boot-maven-plugin
like following:
native-maven-plugin
Builds native executable.
Add additional following build step: Requires GraalVM to be set up.
io.netty
requires GraalVM Reachability Metadata Repository see https://www.graalvm.org/native-image/libraries-and-frameworks/Can build with above config but fails at startup as classpath:/_.wsdl
is not resolvable
Caused by: jakarta.xml.ws.WebServiceException: Ung³ltige WSDL-URL: classpath:/fabasoft.wsdl
Can build with above config but fails at startup with following error
Caused by: java.lang.NoSuchMethodException: org.camunda.bpm.engine.impl.ProcessEngineLogger.<init>()
When testing the native image builds one error after the other occurred and it was never really clear whether the recommended solution, such as adding the --initialize-at-build-time
argument, was really the right way to go.
The much more practical way would be to try the whole thing with a much smaller Refarch project.
Hab das intern aufgenommen:
https://git.muenchen.de/ccse/refarch-archetype/refarch-archetype-backend/-/issues/76
Für mich passt das, wenn wir wegen der Probleme hier die Komplexität erstmal reduzieren
As part of the internal ticket refarch-archetype/refarch-archetype-backend!76, it was noticed that the custom Maven build config of DigiWF was the main cause of errors. With adjustments, the implementation should therefore be feasible, taking into account the problems documented in the issue above.
Is your feature request related to a problem? Please describe.
Als Plattformbetreiber möchte ich die Kosten der Plattform möglichst reduzieren. Dafür testen wir die Einsetzbarkeit von GraalVM an einem Integrationsservice aus.
Describe the solution you'd like
Acceptance Criteria
Time Box
3 PT
Addition Context