Hi Luong,

I just looking in gt-render-2.5-RC1.jar and the classes MapContext and
DefaultMapContext are definitely in there.

Your dependency entry looks fine.  Has the jar been downloaded yet ?
You can check this either by looking in your local repository manually
or looking at the jar in the Libraries section of your project (in the
Project window) in Netbeans.

Michael

2008/11/24 fx5900 <[EMAIL PROTECTED]>:
>
> Hi,
>
>
>  i managed to download the gt-render jar file, but i still seem seem to get
> the error message of "Cannot find symbol MapContex". The same goes for when
> i do DefaultMapContext.
>
> Here is my pom.xml code:
> <dependency>
>            <groupId>org.geotools</groupId>
>            <artifactId>gt-render</artifactId>
>            <version>2.5-RC1</version>
>        </dependency>
>
> are there any other jar files i need to be able to call and use this class?
>
> Cheers
>
> Michael Bedward wrote:
>>
>> 2008/11/21 fx5900 <[EMAIL PROTECTED]>:
>>>
>>> Hi,
>>>     in my app i have created a second file called buildmap.java which is
>>> empty and i'm trying to create the mapcontext object but i can't seem to
>>> find the jar file
>>
>> Hi Luong,
>>
>> The jar you need is gt-render - just add this to your pom.xml and it
>> will be downloaded when you build your project.
>>
>> Don't worry if you are seeing errors in the IDE on the import
>> statement etc prior to building the project - it just means you don't
>> have a copy of the jar in your local repository yet.  Just run build
>> to get it and those errors will be cleared.
>>
>> Michael
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Finding-jar-file-tp20612057p20649047.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to