My spring boot applications startup time was very long with jdk 8. There is no problem with jdk 9. A simple application without any code startup time was over 15 seconds. Now it starts under 5 seconds. I find solution in stackoverflow :
I solved the problem by adding my Mac hostname (i.e. Macbook.local, or whatever your Mac is called) on the
/etc/hosts file mapped to the
127.0.0.1 address as well as the
::1 like this:
127.0.0.1 localhost mbpro.local ::1 localhost mbpro.local
To learn your hostname, type hostname in the console.