[cdi-dev] Duplicate javax.annotation packages and Java 9
John Ament
john.ament at spartasystems.com
Sat Oct 21 10:22:28 EDT 2017
Hey all
Not sure where else to turn 😊
I'm trying to start testing my apps on Java 9, I believe Java 9 kicks back the javax.annotation dependency that CDI declares due to a package collision with the built in JDK's javax.annotation package<https://docs.oracle.com/javase/9/docs/api/javax/annotation/package-summary.html>. The errors I get are due to missing javax/annotation/Priority. I'm wondering if anyone else has tried this, and if there's a clean work around?
John
________________________________
NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20171021/3a390912/attachment.html
More information about the cdi-dev
mailing list