I realized my problem was that we are running our Spring Boot application in Embedded mode, which I guess isn't supported yet. I tried adding the servletContextInitializer() found here:
I realize this is marked as in progress, but when I run this code and then try and access this page, I get a huge stacktrace that starts with:
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: WebApplicationContext for namespace 'lightadmin-dispatcher-servlet': startup
date [Tue Aug 26 22:04:01 EDT 2014]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@78691363
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:346) ~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333) ~[spring-context-4.0.6.RELEASE.jar:4.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.publishRequestHandledEvent(FrameworkServlet.java:1061) ~[spring-webmvc-4.0.6.RELEASE.jar:4.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:996) ~[spring-webmvc-4.0.6.RELEASE.jar:4.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) ~[spring-webmvc-4.0.6.RELEASE.jar:4.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [tomcat-embed-core-8.0.9.jar:8.0.9]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) ~[spring-webmvc-4.0.6.RELEASE.jar:4.0.6.RELEASE]
Is there any workaround, even a manual one, that I could apply to get LightAdmin working with an Embedded application? I'd really like to be able to use it but I need to keep my app embedded.