2021-10-1122:07:27,957[qtp1226858597-39]DEBUG[org.springframework.web.servlet.DispatcherServlet]-Failedtocomplete request:org.springframework.web.util.NestedServletException:Handler dispatch failed; nested exception is java.lang.NoSuchMethodError:javax.servlet.http.HttpServletResponse.setContentLengthLong(J)V[WARNING]org.springframework.web.util.NestedServletException:Handler dispatch failed; nested exception is java.lang.NoSuchMethodError:javax.servlet.http.HttpServletResponse.setContentLengthLong(J)V
at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:1082)
at org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:963)
at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet (FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service (HttpServlet.java:735)
at org.springframework.web.servlet.FrameworkServlet.service (FrameworkServlet.java:883)
[ERROR]Failedtoexecute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs) on project flink-connector-starrocks:MavenReportException:Errorwhile creating archive:Unabletofind javadoc command:The environment variable JAVA_HOME is not correctly set.->[Help1][ERROR][ERROR]To see the full stack trace of the errors, re-run Mavenwiththe-e switch.[ERROR]Re-run Maven using the -Xswitchtoenable full debug logging.[ERROR][ERROR]For more information about the errors and possible solutions, please read the following articles:[ERROR][Help1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Failedtoexecute goal org.apache.maven.plugins:maven-jar-plugin:3.2.0:jar (make-a-jar) on project common:You have touse a classifier toattach supplemental artifacts tothe project instead of replacing them.->[Help1]