Hello!

After I followed the quickstart tutorial in the geotools website, the code
ran successfully. But, displaying following errors in the console:

*Error while parsing JAI registry file
"file:/home/hadoop/Documents/Code_Zone/lib/Geotools/geotools-8.2/imageio-ext-imagereadmt-1.1.4.jar!/META-INF/registryFile.jai"
:*
*Error in registry file at line number #29*
*A descriptor is already registered against the name "ImageReadMT" under
registry mode "rendered*"

Suggestions please.
--
Thanks & Regards,
Sugandha Naolekar






On Sun, Oct 28, 2012 at 4:31 PM, Sugandha Naolekar
<[email protected]>wrote:

> Hello Micheal!
>
> Thanks for the support. Although, by just importing the relevant jars in
> the build path of the peoject, my code got executed. :)
>
>  --
> Thanks & Regards,
> Sugandha Naolekar
>
>
>
>
>
>
> On Sun, Oct 28, 2012 at 2:08 PM, Michael Bedward <
> [email protected]> wrote:
>
>> The xml code at the bottom of this message is what your pom should
>> look like. Try putting that code into your pom (replacing the existing
>> contents).
>>
>> Also, the quickstart page suggests running the "Update all maven
>> dependcies" item from the Project menu in Eclipse. Please try that if
>> you haven't already.
>>
>> Alternatively, open a command/terminal window, navigate to the folder
>> where your application is (the folder containing the pom.xml file) and
>> type:
>>
>> mvn -U clean install
>>
>> Michael
>>
>>
>> <project
>>     xmlns="http://maven.apache.org/POM/4.0.0";
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>     <modelVersion>4.0.0</modelVersion>
>>
>>     <groupId>org.geotools</groupId>
>>     <artifactId>tutorial</artifactId>
>>     <version>0.0.1-SNAPSHOT</version>
>>     <packaging>jar</packaging>
>>
>>     <name>tutorial</name>
>>     <url>http://maven.apache.org</url>
>>     <properties>
>>         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>>         <geotools.version>8.2</geotools.version>
>>     </properties>
>>
>>     <dependencies>
>>         <dependency>
>>             <groupId>junit</groupId>
>>             <artifactId>junit</artifactId>
>>             <version>3.8.1</version>
>>             <scope>test</scope>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.geotools</groupId>
>>             <artifactId>gt-shapefile</artifactId>
>>             <version>${geotools.version}</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.geotools</groupId>
>>             <artifactId>gt-swing</artifactId>
>>             <version>${geotools.version}</version>
>>         </dependency>
>>     </dependencies>
>>
>>     <repositories>
>>         <repository>
>>             <id>maven2-repository.dev.java.net</id>
>>             <name>Java.net repository</name>
>>             <url>http://download.java.net/maven/2</url>
>>         </repository>
>>         <repository>
>>             <id>osgeo</id>
>>             <name>Open Source Geospatial Foundation Repository</name>
>>             <url>http://download.osgeo.org/webdav/geotools/</url>
>>         </repository>
>>     </repositories>
>> </project>
>>
>
>
------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to