<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi jmh-dev team,<div><br></div><div>When I set up my benchmarking project using this step:</div><div><div><div class="apple-rich-link" draggable="true" role="link" data-url="https://github.com/openjdk/jmh#preferred-usage-command-line" style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;"></div></div><div><br></div><div>I get an error saying “Annotation generator had thrown the exception. java.lang.NoClassDefFoundError: javax/annotation/Generated</div><div>“. Seems I need to add this dependency in pom.xml:</div></div><blockquote style="margin: 0px 0px 0px 40px; border: medium; padding: 0px;"><div><span style="background-color: rgb(214, 214, 214);"><dependency></span></div><div><span style="background-color: rgb(214, 214, 214);"> <groupId>javax.annotation</groupId></span></div><div><span style="background-color: rgb(214, 214, 214);"> <artifactId>javax.annotation-api</artifactId></span></div><div><span style="background-color: rgb(214, 214, 214);"> <version>1.3.2</version></span></div><div><span style="background-color: rgb(214, 214, 214);"></dependency></span></div></blockquote>Could you add this dependency <font face=".AppleSystemUIFont">in Maven <span style="orphans: 2; widows: 2;">archetype?</span></font></div><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><font face=".AppleSystemUIFont"><br></font></div><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><span style="caret-color: rgb(43, 46, 47); color: rgb(43, 46, 47);">Best regards,</span></div><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><span style="caret-color: rgb(43, 46, 47); color: rgb(43, 46, 47);">Qiao</span></div></body></html>