Hi Maciej,

Sorry about this. The problem is due to you not having the JAI (Java
Advanced Imaging) libraries on your system / classpath. It's a known
issue. Please see...

http://jira.codehaus.org/browse/GEOT-2831

The issue has been fixed and the new code will be part of GeoTools 2.6.1.

The pom.xml that Oliver posted will work for you because it declares
JAI as a dependency, prompting Maven to download and use it.  The
relevant bits are...

<dependency>
 <groupId>javax.media</groupId>
 <artifactId>jai_core</artifactId>
 <version>1.1.3</version>
</dependency>
<dependency>
 <groupId>javax.media</groupId>
 <artifactId>jai_codec</artifactId>
 <version>1.1.3</version>
</dependency>

Alternatively, you can get a preview of GeoTools 2.6.1 by using
2.6-SNAPSHOT for the "geotools.version" property in your pom.xml. This
will give you the code that avoids loading JAI when it is not really
needed.

Hope this makes sense,
Michael

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to