todd runstein wrote:
> I have a ShapefileDataStore that I'm trying to render
> with StreamingRenderer.  I was able to do this in 2.2
> M2, but in 2.2 RC3 I get an error (trace follows).  I
> am able to render a TigerDataStore with the same code,
> but shapefiles throw the error.   
>
> The ConcurrentHashMap class isn't in any of the jars
> for either version.  Is this a new dependency that I
> don't have?  If so, what am I missing and where do I
> get it?
>   
I think this error goes out to Richard who put together the 2.2.RC3 list...
Richard is their a chance we missed switching something over to the
concurrency package?

Their is a great set of concurrency classes that has been adopted first by
esri and then by Java 5. The library is available seperatly and we now use
the original in geotools so as to still work with Java 1.4.

The motivation for the release of 2.2.RC3 was to remove the direct
dependency on ESRI code (even just stuff they repackaged).

Jody
> Thanks,
>
> Todd
>
> Here's the trace:
> java.lang.NoClassDefFoundError:
> EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
>       at org.geotools.data.Diff.<init>(Diff.java:69)
>       at
> org.geotools.data.TransactionStateDiff.diff(TransactionStateDiff.java:100)
>       at
> org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:358)
>       at
> org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:147)
>       at
> org.geotools.renderer.lite.StreamingRenderer.getReader(StreamingRenderer.java:1090)
>       at
> org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1188)
>       at
> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:506)
>       at
> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:412)
>       at
> com.mymaps.viewers.AbstractViewer$ImageGenerator.construct(AbstractViewer.java:765)
>       at
> javax.swing.SwingWorker3.SwingWorker$2.run(SwingWorker.java:108)
>       at java.lang.Thread.run(Thread.java:534)
>
>
>
> The only "dumb question" is the one you were too afraid to ask.
> ________________________________________
> Check out RouteRuler - Free software for runners, cyclists, walkers, etc.
> http://routeruler.sourceforge.net
> ________________________________________
> Get a handle on your data with "pocOLAP", the "little" OLAP project
> http://pocolap.sourceforge.net
> ________________________________________
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   




_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to