草庐IT

ApplicationEventMulticaster

全部标签

java - ApplicationEventMulticaster 未初始化 - 在通过上下文多播事件之前调用 'refresh'

我正在开发一个SpringBoot应用程序,并使用HikariCP连接池和JDBC模板将数据插入数据库。但是当我启动时出现错误。java.lang.IllegalStateException:ApplicationEventMulticasternotinitialized-call'refresh'beforemulticastingeventsviathecontext:org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1c90ca10:startupdat

java - ApplicationEventMulticaster 未初始化 - 在通过上下文多播事件之前调用 'refresh'

我正在开发一个SpringBoot应用程序,并使用HikariCP连接池和JDBC模板将数据插入数据库。但是当我启动时出现错误。java.lang.IllegalStateException:ApplicationEventMulticasternotinitialized-call'refresh'beforemulticastingeventsviathecontext:org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1c90ca10:startupdat

spring - java.lang.IllegalStateException : ApplicationEventMulticaster not initialized

已结束。这个问题是notreproducibleorwascausedbytypos.它目前不接受答案。此问题是由拼写错误或无法再重现的问题引起的。虽然类似的问题可能是on-topic在这里,这个问题的解决方式不太可能帮助future的读者。关闭8年前。Improvethisquestion尝试使用spring和spring-security运行项目时出现以下错误(在我添加spring安全性之前它正在运行):java.lang.IllegalStateException:ApplicationEventMulticasternotinitialized-call'refresh'bef

spring - java.lang.IllegalStateException : ApplicationEventMulticaster not initialized

已结束。这个问题是notreproducibleorwascausedbytypos.它目前不接受答案。此问题是由拼写错误或无法再重现的问题引起的。虽然类似的问题可能是on-topic在这里,这个问题的解决方式不太可能帮助future的读者。关闭8年前。Improvethisquestion尝试使用spring和spring-security运行项目时出现以下错误(在我添加spring安全性之前它正在运行):java.lang.IllegalStateException:ApplicationEventMulticasternotinitialized-call'refresh'bef