[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:javadoc-no-fork (generate-javadoc-json) on project taskana-rest-spring: An error has occurred in Javadoc report generation:
[ERROR] Exit code: 4
[ERROR] error: fatal error encountered: java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
[ERROR] error: Please file a bug against the javadoc tool via the Java bug reporting page
[ERROR] (https://bugreport.java.com) after checking the Bug Database (https://bugs.java.com)
[ERROR] for duplicates. Include error messages and the following diagnostic in your report. Thank you.
[ERROR] java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/ObjectMapper
[ERROR] at capital.scalable.restdocs.jsondoclet.ExtractDocumentationAsJsonDoclet.createObjectMapper(ExtractDocumentationAsJsonDoclet.java:160)
[ERROR] at capital.scalable.restdocs.jsondoclet.ExtractDocumentationAsJsonDoclet.run(ExtractDocumentationAsJsonDoclet.java:58)
[ERROR] at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseAndExecute(Start.java:556)
[ERROR] at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:393)
[ERROR] at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:342)
[ERROR] at jdk.javadoc/jdk.javadoc.internal.tool.Main.execute(Main.java:63)
[ERROR] at jdk.javadoc/jdk.javadoc.internal.tool.Main.main(Main.java:52)
[ERROR] Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.ObjectMapper
[ERROR] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
[ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
[ERROR] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
[ERROR] ... 7 more
Hello ScaCap Team,
I want to upgrade the maven-doc-plugin to version 3.5.0
This is my config
and this is the error I receive