Hi Dadar; you may want to try the netbeans forums for help on this
one; especially if it working from the command line. I had a bit of
trouble asking it to download all the jars from maven.
Jody
On Mon, Oct 5, 2009 at 7:35 PM, dadar <iam_untouchable2003@yahoo.com> wrote:
>
> When I'm compiling the source in netbeans there is this error
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/miginfocom/swing/MigLayout
> at org.geotools.swing.JMapFrame.initComponents(JMapFrame.java:262)
> at org.geotools.swing.JMapFrame.showMap(JMapFrame.java:119)
> at com.mycompany.cobacoba.Quickstart.main(Quickstart.java:43)
> Caused by: java.lang.ClassNotFoundException: net.miginfocom.swing.MigLayout
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> ... 3 more
>
> does anybody know how to solve this problem??
> if I'm run it from command prompt there is no problem, but if I run it from
> netbeans I have that error
> --
> View this message in context:
http://n2.nabble.com/My-netbeans-have-a-problem-with-geotools-tp3767585p3767585.html> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
>
http://p.sf.net/sfu/devconf> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users