• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin

 
clint morrison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am unable to build any reports when I upgraded to maven apache-maven-3.0.1. My pom entry for site generation is as follows



The stack trace for the error is as follows
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to be the base error:

>>Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin for 'inherited'

That is line 44 in the excerpt you posted. Try removing that line.
 
clint morrison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
Thanks for the response, I made the changes however I am seeing the error below. I cannot see what jar I am missing that contains the class?




My pom entry for the site plugin now looks like
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a tool such as JBoss Tattletale or JarFinder.

Try adding this dependency:




 
clint morrison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter, thanks for the guidance. The following resolved the issue...

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic