I am trying to implement ehcache
for my application but when try invoking the server, getting the following error -
java.lang.IllegalStateException
This is kinda stupid but my problem was that I had placed the @SpringBootApplication
class (namely App, Application, WebApplication in most projects) inside the default package. Hence, everything was in total disarray.
I'm not sure why this exact error showed up, but moving the application class to a package sure fixed it.