The following classpath entry '...' will not be available on the server's classpath

2,773 views
Skip to first unread message

Paul Grenyer

unread,
Jul 30, 2009, 5:46:43 AM7/30/09
to Google-We...@googlegroups.com
HI All

How do I turn off the above warning? I can go through each one and
tell eclipse to ignore it, but that's a real ball ache and has to be
done every time the project is checked out.

Thanks!

--
Thanks
Paul

Paul Grenyer
e: paul.g...@gmail.com
w: http://www.marauder-consulting.co.uk
b: paulgrenyer.blogspot.com

Miguel Méndez

unread,
Jul 30, 2009, 9:30:21 AM7/30/09
to Google-We...@googlegroups.com
If you want to use the libraries on the server, then they should be in WEB-INF/lib.  The warning has a quick fix that will do that for you.

If you really don't want these on the server then you can add the .settings folder to your version control system once you have excluded them.

We've discussed having an errors/warnings configuration page like the one for the Java compiler.  This seems like another reason to do so.
--
Miguel

Paul Grenyer

unread,
Jul 30, 2009, 10:12:13 AM7/30/09
to Google-We...@googlegroups.com
HI

2009/7/30 Miguel Méndez <mme...@google.com>:


> If you want to use the libraries on the server, then they should be in
> WEB-INF/lib.

Yeah, I don't. These ones are just for testing.

> The warning has a quick fix that will do that for you.
> If you really don't want these on the server then you can add the .settings
> folder to your version control system once you have excluded them.

Yeah, I don't fancy that much, especially as the projects are shared.

> We've discussed having an errors/warnings configuration page like the one
> for the Java compiler.  This seems like another reason to do so.

That would be perfect. Is there a feature request I can create or add
weight too?

Miguel Méndez

unread,
Jul 30, 2009, 10:27:02 AM7/30/09
to Google-We...@googlegroups.com
On Thu, Jul 30, 2009 at 10:12 AM, Paul Grenyer <paul.g...@gmail.com> wrote:

HI

2009/7/30 Miguel Méndez <mme...@google.com>:
> If you want to use the libraries on the server, then they should be in
> WEB-INF/lib.

Yeah, I don't. These ones are just for testing.

> The warning has a quick fix that will do that for you.
> If you really don't want these on the server then you can add the .settings
> folder to your version control system once you have excluded them.

Yeah, I don't fancy that much, especially as the projects are shared.

Unfortunately, this is your best bet for now.
 

> We've discussed having an errors/warnings configuration page like the one
> for the Java compiler.  This seems like another reason to do so.

That would be perfect. Is there a feature request I can create or add
weight too?

http://code.google.com/p/google-web-toolkit/issues/detail?id=3902.  Additionally, we should have a quick fix that resolves all of the warnings at once.



--
Miguel

Paul Grenyer

unread,
Jul 30, 2009, 10:30:41 AM7/30/09
to Google-We...@googlegroups.com
Hi

>> > The warning has a quick fix that will do that for you.
>> > If you really don't want these on the server then you can add the
>> > .settings
>> > folder to your version control system once you have excluded them.
>>
>> Yeah, I don't fancy that much, especially as the projects are shared.
>
> Unfortunately, this is your best bet for now.

:-(

>> That would be perfect. Is there a feature request I can create or add
>> weight too?
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=3902.

Done!

>  Additionally, we should have a quick fix that resolves all of the warnings
> at once.

That would be a good step in the right direction.

Reply all
Reply to author
Forward
0 new messages