ValueError: Java class 'org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp' not found

Hi all,
I would like to use snappy for applying orbit file, and I use the following codes to create a function of it:

func = snappy.jpy.get_type(
        'org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp')()

Then, the error comes out:

ValueError                                Traceback (most recent call last)
<ipython-input-3-97ecf367b14f> in <module>
      1 snappy.jpy.get_type(
----> 2         'org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp')()

ValueError: Java class 'org.esa.s1tbx.sar.gpf.orbits.ApplyOrbitFileOp' not found

Does anyone know how to use snappy for calling applyorbit operation?

Thank you!

The package path is not correct.
It is: org.esa.s1tbx.orbits.gpf.ApplyOrbitFileOp

Usually, you don’t need to instantiate the operator.
You can simply use

GPF.createProduct('Apply-Orbit-File', .....)

Thank you!