Anaxa,

Did you put your class in a package, or is it in the default package?  If your 
class is in a package, I'd point the finger to netbeans..  But that's just me..

Eric

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin 
Desruisseaux
Sent: Friday, June 06, 2008 9:28 AM
To: Anaxa Gore
Cc: Geotools users list
Subject: Re: [Geotools-gt2-users] [Geotools-2.5-users] IllegalStateException

Anaxa Gore a écrit :
> I often get this exception when running my application, but can't from 
> where it comes from...
> Does ayone gets an idea about this ?
> 
> java.lang.IllegalStateException: You are trying to access file: 
> log4j.properties from the default package.
>   at org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:297)
>   at org.apache.log4j.helpers.Loader.getResource(Loader.java:96)

I had a quick look at the stack trace and the GeoTools call doesn't seem 
suspect 
to me. It seems to be related to Log4J implementation trying to find its 
configuration file.

Do you use Log4J? If not, could you try to make sure it is not present in yours 
classpath so the application use the standard Java logger instead?

        Martin

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to