I have an external jar file which I created from another project and use it inside a spring boot Rest API application.
I have tried installing, adding manually, importing it but I am unable to access the jar or unable to use it.
For eg. I have a jar called myjar.jar. If it is run on its own :
java -jar myjar.jar one two there
I would get my desired out put.
I want use this jar inside a Spring Boot Rest API application which takes in a json input and sends the input data to this and this jar gives the out put which is again returned in a json format.
But I am unable get this jar imported or be able to use it inside my Spring boot applications. Is there a way to access the functions/methods inside the jar file and call them.
Any ideas/suggestions?