Compiling against dummy api and running with real api causes
java.lang.NoSuchFieldError: SE_OPTIMIZE
----------------------------------------------------------------------------------------------------
Key: GEOT-1059
URL: http://jira.codehaus.org/browse/GEOT-1059
Project: GeoTools
Issue Type: Bug
Components: data arcsde
Affects Versions: 2.3, 2.2.3, 2.3.1, 2.4.M0
Reporter: Saul Farber
Assigned To: Gabriel Roldán
Fix For: 2.2.3, 2.3.1, 2.4.M0
I can confirm that there's a bug in the dummy_api resulting in the following
scenario:
1) You compile and install gt-2.2.x without modifying any poms
2) You compile and install gs-1.4.x without modifying any poms
3) You copy the gt2-arcsde-2.2.3-SNAPSHOT.jar file into the
gs-1.4.x/WEB-INF/lib folder
4) You copy the jsde_sdk jars into the gs/WEB-INF/lib folder
RESULT:
Any attempt to get data from the arcsde datastore results in a
Caused by: java.lang.NoSuchFieldError: SE_OPTIMIZE
at
org.geotools.data.arcsde.ArcSDEQuery.createSeQueryForFetch(ArcSDEQuery.java:361)
error.
The current workaround is this:
before starting step 1, change the plugins/arcsde/datastore/pom.xml file to NOT
reference the dummy api, and INSTEAD reference the com.esri.jsde_jpe_sdk,
com.esri.jsde_concurrent and com.esri.jsde_sdk poms from the maven.geotools.fr
site. They'll download just fine, and then you can continue on and everything
will work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel