Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java: UnknownCRSException: The specified CRS 'EPSG:4326' is not known. #1766

Open
johan974 opened this issue Dec 13, 2024 · 1 comment
Open
Labels
core deegree core modules question user question

Comments

@johan974
Copy link

johan974 commented Dec 13, 2024

When working with deegree-core-base (Java) I get in the newer version this error:

org.deegree.cs.exceptions.UnknownCRSException: The specified CRS 'EPSG:28992' is not known.
The same applies even for: EPSG:4326. (WGS84).

This is the Java statement: wktReader = new WKTReader( CRSManager.lookup( "EPSG:4326"));

The Maven dependency is:

<dependency>
    <groupId>org.deegree</groupId>
    <artifactId>deegree-core-base</artifactId>
    <version>3.5.8</version>
</dependency>

How to solve this? Did something change? This worked in version 3.5.0.

@johan974 johan974 changed the title Java: UnknownCRSException: The specified CRS 'EPSG:28992' is not known. Java: UnknownCRSException: The specified CRS 'EPSG:4326' is not known. Dec 13, 2024
@tfr42 tfr42 added question user question core deegree core modules labels Jan 7, 2025
@tfr42
Copy link
Member

tfr42 commented Jan 7, 2025

@johan974 Can you please post the complete <dependencies/> section from the Maven pom.xml or even better the output of mvn dependency:tree here?
You can compare the output of the dependency:tree between deegree version 3.5.0 and the newer version 3.5.8. This may give an hint what is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core deegree core modules question user question
Projects
None yet
Development

No branches or pull requests

2 participants