« Return to Thread: why so many missing class errors?

RE: why so many missing class errors?

by VedavalliRadhika.KaniyalarVijayakumar :: Rate this Message:

| View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

 

-----Original Message-----

From: findbugs-discuss-bounces@... [mailto:findbugs-discuss-bounces@...] On Behalf Of Jeff Jensen

Sent: Friday, February 16, 2007 2:58 AM

To: findbugs-discuss@...

Subject: Re: [FB-Discuss] why so many missing class errors?

 

> > Which version of Maven do you use?

> >

> >

> >

       Maven 2.0.4

 

 > >Do you have all of those artifacts (jars) as dependencies in the pom?

> >

> >

> >

Yes I do have them all. But there are certain classes of my application also missed for analysis. For example it also misses my

 

com.mycompany.app.App

com.mycompany.webapp.WebApp

com.mycompany.maven.Maven

com.mycompany.finbugs.FindBugs

 

Only some of them, not all. How could this be defined in any project pom?

 

First I thought that the issue was in my local repository as I have manually created the folder structure for certain third party jars (that are not available in the Maven remote repo) and added the jars and dependent poms in the way Maven wants (I have also defined the same artifact id and group id in my project pom xml, so no compilation issues).  Even after restructuring it still misses them all.

 

> >And David is right - this issue is more correct to start with on a Maven user

> >list, as it is probably a config issue or plugin problem.

 

And I have posted this issue in Maven plugin user forum too, but I havn't got any such immediate and interactive replies. As I find Maven-Findbugs-Plugin users like Jeff in this forum, I believe I will get the needed help.

 

So this could be some bug as Garvin suggests.

 

Thanks,

Radhika

 


From: findbugs-discuss-bounces@... [mailto:findbugs-discuss-bounces@...] On Behalf Of Garvin LeClaire
Sent: Monday, February 19, 2007 7:13 PM
To: Jeff Jensen
Cc: findbugs-discuss@...
Subject: Re: [FB-Discuss] why so many missing class errors?

 

The Maven 2 plugin experiences this problem.  I did a little investigation an found that an underlying Maven function may have a bug.
I need to do a little research to see if a bug has been reported.  I am going to check a few other plugins which need to have the same functionality and see if the have a similar issue.

--
Regards,

Garvin LeClaire
garvin.leclaire@...

On 2/15/07, Jeff Jensen <jjensen@...> wrote:

Which version of Maven do you use?

Do you have all of those artifacts (jars) as dependencies in the pom?

And David is right - this issue is more correct to start with on a Maven user
list, as it is probably a config issue or plugin problem.


Quoting David Hovemeyer <david.hovemeyer@...>:

> On 2/12/07, VedavalliRadhika.KaniyalarVijayakumar@...<
> VedavalliRadhika.KaniyalarVijayakumar@...> wrote:
> >
> >  I am coming across a similar kind of issue, when I use Maven-findbugs
> > plugin.
> >
> >
> >
> > Console Output:
> >
> > The following classes needed for analysis were missing:
> > javax.servlet.http.HttpServlet
> >
> > javax.servlet.GenericServlet
> >
> > …………
> >
> > …………
> >
> >
> >
> > Is this also a bug???
> >
>
> It is hard to say.  FindBugs is trying to find these classes, but it is
> complaining
> that they are not available.  Using FindBugs in command-line mode, you would
> specify the jar file these classes are in (j2ee.jar?) as part of the
> -auxClasspath option.  I'm not sure how this works with Maven, however.
>
> Is this the right forum for me to discuss the issue??
> >
> If the problem is a bug in FindBugs, then yes.  If it is a problem with the
> maven
> plugin, no.
>
> -Dave
>



_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss

 

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
http://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss

 « Return to Thread: why so many missing class errors?