luca.santaniello wrote: > but i have problem if insert code in web app. > I have readed http://jira.codehaus.org/browse/GEOT-1211 and i deleted > gt2-epsg-access and gt2-epsg-hsql from my lib. > > If start my app in desktop application, it run correctly, but if call my code > into web app, it don't run! > Help me please > So what epsg-xxxx jar do you have left? We need one of them to understand the codes; also I hope the coes are of the form "EPSG:4326" ie they should start with "EPSG".
It sounds like you have a problem bundling your web application; the geotools epsg-xxxx.jars make use of the "factory service provide interface" system in which the jars META_INF/services folder contains text files; each one describeing classes that implement services. In eclipse (where I use OSGi) I have a problem because the classloader will not geotools look at the META_INF/services folder. What web application are you using; perhaps it is doing something complicated with classloaders that is getting in the way? Jody ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
