The code is working in main method separately. But not working, when it is called in Spring running on Apache.
I compiled my code in main method. It works ok without any issue. But when I call block of code in Spring running on Apache. Does anyone have any idea?
Caused By: java.lang.NoClassDefFoundError: reactor/core/CorePublisher . . .
Line of code causes the error: client is SearchClient from Azure SDK.
SearchPagedIterable searchResultsIterable = searchClient.search("text");