In JDK 9 the package javax.activation is not accessible by default and should be explicitly granted with --add-modules java.activation on compile time. Also, it is deprecated and marked for removal in JDK 10.
Reference : https://jira.spring.io/browse/SPR-16115
Affected libraries :
pdf-boxing - Fixed with dotemacs/pdfboxing#41