[jdom-interest] JDOm 2 and Java 9..14 Modules

Michael Ellis michael.ellis at dsuk.biz
Fri Apr 10 06:50:22 PDT 2020

I find that my NetBeans maven drive project generates an error if attempting to use JDom2 in a Java 11 project that uses Java modules

My meven project uses the following dependency..

If my module-info.jave file includes “requires jdom2;” the project does compile but shows an error 

“module not found jdom2”

If my module-info.jave file includes “requires jdom;” the project fails to build.

How do I fix this?

Michael Ellis (Managing Director)
Digital Scientific UK Ltd.
http://www.dsuk.biz <http://www.dsuk.biz/>
michael.ellis at dsuk.biz
tel: +44(0)1223 911215

The Commercial Centre
6 Green End
CB23 7DY

=== END OF EMAIL ===

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.jdom.org/pipermail/jdom-interest/attachments/20200410/d2cf1007/attachment.html>

More information about the jdom-interest mailing list