The code is fine, it handles the comments (which is why I always advocate that you don’t write the comments). How to do?Add a parameter:
Option 1 (invalid) :
Option 1 (invalid) :
mvn \
-Xdoclint:none
Complains.
Method 2 (effective) :
Search for maven-javadoc-plugin in pom.xml and change it to something like this:
After 3.0.0:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
3.0.0 before:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
Read More:
- Error resolving version for plugin ‘org.apache.maven.plugins:maven-compiler-plugin’ from the repo…
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test)
- Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build Exception caught: basedir src/mai
- Maven compilation error: package does not exist jar package does not exist
- Maven skip unit test- maven.test.skip And skipstests
- Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
- Maven skip unit test
- Import Maven project pom.xml File error
- The import Maven project appears http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Solutions
- “[warning] failed to retrieve plugin descriptor for caused by Maven security agent settings org.apache.maven . plugins:… “
- Failed to execute goal
- Idea Maven project uses package to package and report error (package does not exist)
- Error in Maven packaging web project: webxml attribute is required (or pre existing WEB-INF)/ web.xml if executing in update)
- How to select the jar package version for Maven package when the jar package versions referenced by multiple modules are inconsistent
- About jmh running error: transport error 202: Connect failed: connection reused error solution
- About JMH running ERROR: transport error 202: connect failed: Connection refused ERROR
- javac Task Error source release 1.7 requires target release
- Failed to execute goal in Maven build org.apache.tomcat .maven:
- Unknown error in POM file of springboot project
- Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.6:sign