there is a clear way to include snap java api in a springboot project?
I try many configuration with idea with and without springboot, without success.
I have tried some instructions here https://github.com/senbox-org/s2tbx.
Anyone can help me?
UPDATE: I have configured the enviroment as per https://github.com/senbox-org/s2tbx and now it works properly, but not on a springboot context in a clear maven project.
I can run snap desktop and I can read some S2B products in BEAM format but non in safe format:
File file = new File("/home/corvallis/dev/processor/S2B_MSIL1C_20210509T094029_N0300_R036_T33TXF_20210509T104807.dim"); prod = ProductIO.readProduct(file); <- this works properly and then I can read the data in the model File file = new File("/home/corvallis/dev/processor/S2B_MSIL1C_20210509T094029_N0300_R036_T33TXF_20210509T104807.SAFE"); prod = ProductIO.readProduct(file); <- this raise a nullpointer exception
OS: debian 10
I have imported the modules, I run my code simply by a Java Application, may be I have to add some in the run configuration?