I am not familiar with spring boot but I have a requirement to use it. I am working on a project which has many existing modules. I am writing a thread which starts or calls those mudules everyday in a given time. I found a module which was developed in spring boot.
Since there are many modules which should start/call in certain time I started all application except spring boot application.
I can run spring boot application independently because it has main method but when I called it's main class from another program it is not initilizing application.prooerties files. I mean not initilizing spring boot.
Example:
- MyThread started...
- I tried to start spring boot application calling
Application.start()
I renamed its main(...) method to start() :)
Any idea will be greatly appreciated. Thanks.
Aucun commentaire:
Enregistrer un commentaire