mvn site:run で index.htmlにアクセスしてパッケージ見つからない時は
こんなエラーが出ます。
HTTP ERROR 500
Problem accessing /apidocs/index.html. Reason:
Error generating maven-javadoc-plugin:3.0.0:javadoc report
Caused by:
org.apache.maven.doxia.siterenderer.RendererException: Error generating maven-javadoc-plugin:3.0.0:javadoc report
at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:245)
at org.apache.maven.plugins.site.run.DoxiaFilter.doFilter(DoxiaFilter.java:144)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.apache.maven.reporting.MavenReportException:
Exit code: 1 - /home/kouichi/sharecoin/sharecoin-web/src/main/java/com/sharebaseinc/facade/AccountRepository.java:6: ???: ?????org.apache.commons.lang3.tuple???????
import org.apache.commons.lang3.tuple.Pair;
こんなときは
pom.xmlにこう書いてね
( ˘ω˘)スヤァ おやすみ
org.apache.maven.plugins
maven-javadoc-plugin
3.0.0
-Xdoclint:none
org.apache.commons
commons-lang3
3.7
javadoc
test-javadoc