ValueError: Java class 'org.esa.s1tbx.commons.Sentinel1Utils' not found

Hi everyone,
I have used snappy based on SNAP 9.0 in LINUX before. However, since I upgraded it to SNAP10, an error occurred while using the esa_snappy.
Environment: Python 3.6
Errors Logs:
File “/data/tests/jiaxing/gecoris/gecoris/s1Utils.py”, line 138, in readMetadata
s1utils = jpy.get_type(“org.esa.s1tbx.commons.Sentinel1Utils”)
ValueError: Java class ‘org.esa.s1tbx.commons.Sentinel1Utils’ not found

Thanks!

In SNAP 10, the Sentinel1Utils class has been moved to the package eu.esa.sar.commons
sar-commons/src/main/java/eu/esa/sar/commons/Sentinel1Utils.java

https://senbox.atlassian.net/wiki/spaces/SNAP/pages/2479357953/API+and+Architectural+Changes+in+SNAP+10

Thank you for your prompt reply. It helps me a lot. :grinning: :grinning: This is the first time I’ve used Forum to solve my problem.

1 Like