Scott Pezanowski a écrit :
Thank you for the reply. The gt2-epsg-hsql.jar file was not in the
classpath so I added that. I restarted Tomcat and then I was getting a
noclassdeffound error for a hsqldb class. I thought this may be the
hsqldb driver that it was not finding so I downloaded the latest
hsqldb.jar file and added that. Now I am getting the following error:
[...snip...] java.lang.AbstractMethodError:
[...snip...].HSQLDataSource.createFactory(...);
at [...snip...].DefaultFactory.createFactory(DefaultFactory.java:250)
This error suggest that the gt2-epsg-hsql.jar file is running with a
gt2-referencing.jar file of different Geotools versions. I suspect that
one of those JAR come from Geotools 2.1 and the other one come from
Geotools 2.2.
An other JAR that way be worth a try (instead of gt2-epsg-hsql) may by
gt2-epsg-wkt. The WKT factory has less capability and is less complete
than gt2-espg-hsql, but it is possible that some softwares were designed
specifically for this factory (because it was ready before epsg-hsql).
More specifically, epsg-wkt defines axis in a "non-standard" order
(compared to the EPSG convention) while epsg-hsql respect the order
defined in the EPSG database. But it may happen that some softwares
still expect the "non-standard" axis order used in epsg-wkt (I don't
know if Geoserver is in this case).
Note: I put "non-standard" between quotes because not everybody agree
about what the standard should be. For example EPSG and WFS
specification disagree in this regard. In this mail, "standard" means
"as defined in the EPSG database".
Martin.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users