When you did your maven build did you do a -U ? David Adler wrote: > I'm having problems getting the existing junit tests to run. I suspect > there may be a problem with the version of 'geoapi-nogenerics' that is > built against vs runtime. > > The following is part of the Java stack trace: > > java.lang.NoSuchMethodError: > org.opengis.feature.simple.SimpleFeatureType.getAttribute(I)Lorg/opengis/feature/type/AttributeDescriptor; > at > org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleFeatureBuilder.java:127) > at > org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleFeatureBuilder.java:152) > at > org.geotools.feature.DefaultFeatureType.create(DefaultFeatureType.java:210) > at > org.geotools.data.jdbc.JDBCFeatureReader.readFeature(JDBCFeatureReader.java:125) > at > org.geotools.data.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:88) > at > org.geotools.data.jdbc.JDBCFeatureWriter.next(JDBCFeatureWriter.java:82) > at > org.geotools.data.InProcessLockingManager$1.next(InProcessLockingManager.java:311) > at > org.geotools.data.db2.DB2FeatureWriterTest.testRemove(DB2FeatureWriterTest.java:63) > > Also, FeatureCollection and Feature are being flagged as 'deprecated'. > Is org.geotools.feature.Feature no longer the right one to use? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel >
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel