aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin" Watch "Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin" New topic
Author

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

clint morrison
Greenhorn

Joined: Feb 22, 2011
Posts: 6
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

Joined: May 14, 2008
Posts: 5845
    
    7

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.


JBoss In Action
clint morrison
Greenhorn

Joined: Feb 22, 2011
Posts: 6
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

Joined: May 14, 2008
Posts: 5845
    
    7

You need a tool such as JBoss Tattletale or JarFinder.

Try adding this dependency:




clint morrison
Greenhorn

Joined: Feb 22, 2011
Posts: 6
Peter, thanks for the guidance. The following resolved the issue...

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot find setter nor field in org.apache.maven.plugins.site.ReportPlugin