[
https://issues.apache.org/jira/browse/SIS-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17775246#comment-17775246
]
Johannes Weberhofer commented on SIS-588:
-----------------------------------------
Thanks Martin, for your quick respnse.
* SIS_DATA has not been set
* The dependency-tree is the following:
at.weberhofer:webcommons-geo:jar:3.0.0-SNAPSHOT
+- org.projectlombok:lombok:jar:1.18.30:provided
+- org.apache.sis.core:sis-referencing:jar:1.4:compile
| \- org.apache.sis.core:sis-metadata:jar:1.4:compile
| \- org.apache.sis.core:sis-utility:jar:1.4:compile
| +- org.opengis:geoapi:jar:3.0.2:compile
| \- javax.measure:unit-api:jar:2.1.3:compile
+- org.apache.sis.non-free:sis-embedded-data:jar:1.4:runtime
| +- org.apache.derby:derby:jar:10.14.2.0:runtime
| \- org.apache.derby:derbytools:jar:10.14.2.0:runtime
+- com.fasterxml.jackson.core:jackson-databind:jar:2.13.5:compile
| +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.5:compile
| \- com.fasterxml.jackson.core:jackson-core:jar:2.13.5:compile
+- jakarta.xml.bind:jakarta.xml.bind-api:jar:3.0.1:compile
| \- com.sun.activation:jakarta.activation:jar:1.2.2:compile
+- org.springframework:spring-web:jar:5.3.30:compile
| +- org.springframework:spring-beans:jar:5.3.30:compile
| \- org.springframework:spring-core:jar:5.3.30:compile
| \- org.springframework:spring-jcl:jar:5.3.30:compile
+- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test
| +- org.opentest4j:opentest4j:jar:1.2.0:test
| +- org.junit.platform:junit-platform-commons:jar:1.8.2:test
| \- org.apiguardian:apiguardian-api:jar:1.1.2:test
+- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test
| \- org.junit.platform:junit-platform-engine:jar:1.8.2:test
\- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test
> Problem integrating sis-embedded-data in conversion tool
> --------------------------------------------------------
>
> Key: SIS-588
> URL: https://issues.apache.org/jira/browse/SIS-588
> Project: Spatial Information Systems
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Johannes Weberhofer
> Assignee: Martin Desruisseaux
> Priority: Major
>
> Thank you for this great library. I'm currently trying to upgrade an old
> application of mine to Java 17 and therefor try to switch to Apache sis 1.4.
> Unfortunately, it seems thatincluding the sis-embedded-data library does not
> work for me. Accessing any data results in the following message:
> {{ }}
> {{WARNUNG: Cannot instantiate geodetic object for “EPSG:4326”.}}
> {{Caused by UnavailableFactoryException: Cannot use the EPSG geodetic
> parameters. Caused by: Failed to start database
> 'classpath:SIS_DATA/Databases/spatial-metadata' with class loader
> jdk.internal.loader.ClassLoaders$AppClassLoader@251a69d7, see the next
> exception for details.}}
> {{Caused by SQLException: Catalogs at version level 'null' cannot be upgraded
> to version level '10.14'.}}
> I don't think, it's a issue with the derby version but a packaging problem.
> Maven is not copying over the database and all it's segments to the target.
> Shouldn't that simply work? Or did I forget something?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)