12 January 2016

JDK8: self-closing element not allowed

JDK8 has issues with HTML tags in javadoc :

<br /> and <p />
[ERROR] Exit code: 1 - /Users/devwebcl/development/workspace-java/ehcache-jcache/ehcache-jcache/src/main/java/org/ehcache/jcache/JCacheCachingProvider.java:39: error: self-closing element not allowed

38:  * A JSR107 adapter for EHCache.
39:  * <br />

More details at:


This workaround can be applied to Maven as well (pom.xml):



My Blog List

Blog Archive


The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.