why so many missing class errors?

View: New views
6 Messages — Rating Filter:   Alert me  

why so many missing class errors?

by VedavalliRadhika.KaniyalarVijayakumar :: Rate this Message:

| View Threaded | Show Only this Message

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

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???

 

Is this the right forum for me to discuss the issue??

 

********************************************************************************************

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

David Hovemeyer ...
Thu Jul 14 15:15:22 EDT 2005


Jon Christiansen wrote:
 
>Yes, and I have submitted the bugfix to the authors... I expect when a
>newer Eclipse plugin is made available, it will have the fix in
>place... due to the way Findbugs works, you will still occasionally
>see these messages, but they should be indeed related to classes that
>are not on the project's classpath.
>  
> 
 
An updated version of the Eclipse plugin with Jon's bugfix and various
other fixes is available at the following update site:
 
    http://findbugs.sourceforge.net/eclipsePlugin
 
You'll need to do Help->Software Updates->Find and Install
and so forth from within Eclipse.
 
I haven't had time to do a formal release, but hopefully I'll be able
to in a week or so.
 
There have been reports that the plugin does not work with Eclipse 3.1,
which we will investigate at some point.  It should work fine with
3.0.x.
 
-Dave
 
size=2 width="100%" align=center>

More information about the Findbugs-discuss mailing list

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

Re: why so many missing class errors?

by David Hovemeyer-3 :: Rate this Message:

| View Threaded | Show Only this Message



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

Re: why so many missing class errors?

by Jeff Jensen-2 :: Rate this Message:

| View Threaded | Show Only this Message

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

Re: why so many missing class errors?

by Garvin LeClaire-2 :: Rate this Message:

| View Threaded | Show Only this Message

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



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

RE: why so many missing class errors?

by VedavalliRadhika.KaniyalarVijayakumar :: Rate this Message:

| View Threaded | Show Only this Message

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

Re: why so many missing class errors?

by Garvin LeClaire-2 :: Rate this Message:

| View Threaded | Show Only this Message

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

I did fix the issues with the Maven 2 plugin setting the auxClasspath but the issues still persists.
Does Findbugs have any issues with spaces in the fully qualified path entry?    The default for Maven's local repository on window's systems is the %user_home%/.m2/repository which by default translates to C:\Documents and Settings\user_name\.m2\repository





--
Regards,


Garvin LeClaire
garvin.leclaire@...



On 2/15/07, David Hovemeyer <david.hovemeyer@...> wrote:


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




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