Choxmi
Choxmi

Reputation: 1664

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin

When I build the project with dependencies, it gives this error.

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project appointmentscheduling-api: MavenReportException: Error while generating Javadoc:

Previously I could build it properly. I didn't change anything, I tried a backup sample as well. But this error come always. Tried re-installing javadoc plugin. There are some answers which says to change the pom.xml file. They didn't work for me either. Somebody help me to solve this please.

Thanks in advance

Upvotes: 13

Views: 26598

Answers (1)

gpeche
gpeche

Reputation: 22514

Have you upgraded to JDK8 lately? You might be running into this problem. The solution would be one of:

  • Launch Maven with JDK < 8
  • Apply workaround from link above

Upvotes: 7

Related Questions