Cool; thanks for the information. I don't run NetBeans often (indeed only ever
to update that tutorial). Hopefully mbedward who runs netbeans day to day will
be able to tell us if we are missing anything.
We do make use of JAI and ImageIO, but the jars should be fine (you are not
forced to install into your JRE).
At the end of that document you should be able to see a nice graph showing what
jars are used; I don't see JAI listed
in the mix so something must have changed on me.
--
Jody Garnett
On Thursday, 7 April 2011 at 11:29 PM, [email protected] wrote:
>
> Does GeoTools 2.7.0 require that JAI is installed?
>
> I tried to follow the netbeans quick start, with the manual
> installation of jar files. I get the same error if I remove or add
> jai_codec-1.1.3.jar and jai_imageio-1.1.jar.
>
> When I run the ShapefileViewer demo example it crashes with this stack
> dump before the frame is displayed.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/media/jai/PropertySource
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:151)
> at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:141)
> at org.geotools.demo.swing.ShapefileViewer.<init>(ShapefileViewer.java:83)
> at org.geotools.demo.swing.ShapefileViewer.main(ShapefileViewer.java:70)
> Any suggestions?
>
> Regards
> Anders
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users