Hi,
I met a problem. I use CoordinateOperationFactory coFactory = 
FactoryFinder.getCoordinateOperationFactory(null) to get factory in my 
code. The application is a java bean. When first time to run the java 
bean locally it works fine; but if running the bean on the web then I 
got error like this:
              Can't load a service for category 
"CoordinateOperationFactory". Cause is "ServiceConfigurationError: org 
(...) java.lang.ClassCastException".
              sun.misc.ServiceConfigurationError: 
org.opengis.referencing.operation.CoordinateOperationFactory: Provider
                                                   
org.geotools.referencing.operation.DefaultCoordinateOperationFactory 
could not be instantiated: java.lang.ClassCastException
this java bean was deployed on server side and it's not an applet. It's 
just a component of the whole web-based application.
Every time I have to run it locally first and then ran it on the web 
then that error wouldn't show up.
does anyone know the reason?

Thanks,

Lareina


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to