Weld SE has Groovy integration and the compilation fails with JDK 9. From what I learned there is ATM no support from Groovy side so the only solution would be to exclude Groovy compilation from the build.