Thanks for the quick response, Andrea.  I guess I'll head back to the
drawing board!

On Wed, Aug 25, 2010 at 12:47 PM, Andrea Aime <[email protected]> wrote:

> Fred Messinger (fredm) ha scritto:
>
>  Hi,
>>
>> I'd like to incorporate reading shape files into a servlet running on
>> google's AppEngine.  Unfortunately, there are some classes in geotools that
>> are not on their white list.
>>  http://code.google.com/appengine/docs/java/jrewhitelist.html
>>
>> My code runs fine as a standalone java app, but when I run it as an
>> AppEngine web app, complains with the following:
>>
>> java.lang.NoClassDefFoundError: javax.imageio.spi.ServiceRegistry is a
>> restricted class. Please see the Google  App Engine developer's guide for
>> more details.
>>
>> I'm using the jars from geotools-2.6.5-bin.zip
>>
>> Is there a way to build the jars without the javax.imageio... classes?
>>
>
> I fear it's not possible... spi is the one and only GeoTools plugin
> system, it's the backbone of the entire library, every pluggable class
> is looked up using it.
>
> I guess that in order to avoid this issue we'd need... a pluggable
> plugin system ;-)
>
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to