java.lang.IllegalStateException: serviceUrl must be set when deployed to servlet-container

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.IllegalStateException: serviceUrl must be set when deployed to servlet-container at de.codecentric.boot.admin.config.AdminClientProperties.getServiceUrl(AdminClientProperties.java:132) at de.codecentric.boot.admin.config.AdminClientProperties.getManagementUrl(AdminClientProperties.java:87) at de.codecentric.boot.admin.config.AdminClientProperties.getHealthUrl(AdminClientProperties.java:119) at de.codecentric.boot.admin.services.ApplicationRegistrator.createApplication(ApplicationRegistrator.java:124) at de.codecentric.boot.admin.services.ApplicationRegistrator.register(ApplicationRegistrator.java:73) at de.codecentric.boot.admin.services.RegistrationApplicationListener$1.run(RegistrationApplicationListener.java:89) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
No Bugmate found.