在添加依赖和仓库写完但单元测试后报错
java.lang.NoClassDefFoundError: nl/jworks/markdown_to_asciidoc/Converter
原因在于 nl/jworks/markdown_to_asciidoc/Converter 在 maven center 中没有.
解决方法:添加阿里的jcenter镜像
打开 settings.xml
加入
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>https://maven.aliyun.com/repository/jcenter</url>
</mirror>