Hi everyone,

Our application is upgrading from tomcat-embed-core 9.0.88 to 9.0.95, and we 
are having issues building with the latest jar.

We are getting issues related to JDK 11 and modules.  Specifically, when we 
build, we get the message " module not found: java.annotation "

To demonstrate this, I have created a sample project 
https://drive.google.com/file/d/1GwFLYRNol-zRL9vgg_ubsFcL2NWi9UmG/view?usp=drive_link
 .  (Just run "mvn clean package" with your JAVA_HOME set to JDK 11.  I'm using 
Oracle jdk-11.0.23)

By modifying the pom.xml and setting Tomcat to 9.0.88, it works fine.  9.0.95, 
it does not.  I've tried going through the commit history, but nothing stands 
out.

Note that a similar issue involving JDK 11 and modularity happened in this 
thread:  https://www.mail-archive.com/users@tomcat.apache.org/msg143765.html

Thanks in advance for any suggestions on things to try.

  *
Greg

Reply via email to