Am Donnerstag 10 September 2009 17:33:31 schrieben Sie: > Stefan Krüger ha scritto: > > Hi > > > > Since i switched from GT2.6-M2 to trunc i get a strange error. When i run > > the attached class, i get > > > >> Exception in thread "main" java.lang.NoSuchMethodError: > >> org.geotools.styling.Stroke.setGraphicFill(Lorg/opengis/style/Graphic;)V > >> at > >> org.geotools.styling.StyleFactoryImpl.createStroke(StyleFactoryImpl.java > >>:32 1) at > >> org.geotools.styling.StyleFactoryImpl.createStroke(StyleFactoryImpl.java > >>:26 1) at > >> org.geotools.styling.StyleFactoryImpl.createStroke(StyleFactoryImpl.java > >>:24 4) at Test.main(Test.java:34) > > > > I have the Gt trunk projects in my build path... Any ideas? > > I have tried to updated from svn and cleaned all projects. No change. > > Can it be reproduced? > > The continuous build servers here are working fine: > http://hudson.opengeo.org/hudson/ > http://hudson.opengeo.org/win32/ > > I'm also not seeing the error locally. My money is on a classpath issue, > you're probably mixing up some older jars with today's build ones > > Cheers > Andrea
You were right. I removed all older JARs from the lib dir, even though they where not in the classpath, and it runs. Strange Eclipse... I have seen stuff like that when a MANIFEST of some JAR refered to the JARs.. mm.. anyway.. solved, thanks and sorry for bothering -- wiki² - Softwareentwicklung Stefan Krüger Straßburger Weg 26 53113 Bonn email krue...@wikisquare.de mobile 0151 50543949 webpage wikisquare.de skype alfonx reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel