{"repo":"jonashackt/spring-boot-graalvm","free":true,"listed":false,"github":"https://github.com/jonashackt/spring-boot-graalvm","clone":"git clone https://github.com/jonashackt/spring-boot-graalvm.git","description":"This example project shows how to compile a Webflux based Spring Boot application into a Native App using GraalVM Native Image locally & on GitHub Actions with & without Docker","language":"Java","stars":239,"topics":["spring-boot","graalvm","spring-graal","java","substratevm","graalvm-native-image","native-image","docker","heroku","travis-ci"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"spring-boot-graalvm This example project shows how to compile a Webflux based Spring Boot application into a Native App using GraalVM Native Image This project here shows a technical demo of what's possible right now - stable GraalVM Native Image support for Spring Boot could be expected with Spring Frameworks 5.3 release planned in October 2020, on which Spring Boot 2.4 will be based. A live deployment is available on Heroku: https://spring-boot-graal.herokuapp.com/hello This project is used as example in some articles: blog.codecentric.de/en/2020/05/spring-boot-graalvm/ blog.codecentric.de/en/2020/06/spring-boot-graalvm-docker-heroku/ blog.codecentric.de/en/2020/06/spring-boot-graalvm-native-image-maven-plugin/ Table of Contents New to GraalVM with Spring Boot? Graal Native Image & SpringBoot Dynamic Graal Native Image configuration with @AutomaticFeature Install GraalVM with SDKMAN Install GraalVM Native Image Create a simple WebFlux Reactive REST Spring Boot app Make Spring Boot app Graal Native Image friendly Relocate Annotation classpath scanning from runtime to build time Disable usage of CGLIB proxies Detect Autoconfiguration Get Spring Graal @AutomaticFeature Set start-class element in pom.xml Craft a compile.sh script Run the compile.sh script & start your native Spring Boot App Doing all the steps together using the native-image-maven-plugin Tackling the 'No default constructor found Failed to instantiate java.lang.NoSuchMethodException: io.jonashackt.springbootgra","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonashackt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonashackt/spring-boot-graalvm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}