diff --git a/buildSrc/src/main/java/org/springframework/boot/build/antora/AntoraAsciidocAttributes.java b/buildSrc/src/main/java/org/springframework/boot/build/antora/AntoraAsciidocAttributes.java index 7009e6bea4a..3648fe67b0e 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/antora/AntoraAsciidocAttributes.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/antora/AntoraAsciidocAttributes.java @@ -176,9 +176,10 @@ public class AntoraAsciidocAttributes { private void addUrlJava(Map attributes) { attributes.put("url-javase-javadoc", "https://docs.oracle.com/en/java/javase/17/docs/api/"); - attributes.put("javadoc-location-java", "{url-javase-javadoc}"); - attributes.put("javadoc-location-javax.management", "{url-javase-javadoc}"); - attributes.put("javadoc-location-javax.xml", "{url-javase-javadoc}"); + attributes.put("javadoc-location-java-util", "{url-javase-javadoc}"); + attributes.put("javadoc-location-java-lang", "{url-javase-javadoc}"); + attributes.put("javadoc-location-javax-management", "{url-javase-javadoc}"); + attributes.put("javadoc-location-javax-xml", "{url-javase-javadoc}"); } private void addUrlLibraryLinkAttributes(Map attributes) {