Hi all,

I am new to the list and using GeoTools. I am trying to run image sample (
ImageLab.java) and the following error occurred:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/geotools/styling/TextSymbolizer$PolygonAlignOptions
    at
org.geotools.renderer.lite.StreamingRenderer.<init>(StreamingRenderer.java:251)
    at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:151)
    at ImageLab.displayLayers(ImageLab.java:108)
    at ImageLab.getLayersAndDisplay(ImageLab.java:74)
    at ImageLab.main(ImageLab.java:50)
Caused by: java.lang.ClassNotFoundException:
org.geotools.styling.TextSymbolizer$PolygonAlignOptions
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 5 more

The Maven configuration is as described on the site (I am using version
2.7.1). Does anyone know whether you need to configure anything beyond what
is described?

Thanks in advance.

-- 
Odilon Lima
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to