无法初始化bean org.osgi.service.blueprint.container.ComponentDefinitionException:无法初始化bean
我试图在上使用Spring消息处理程序
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
<version>5.0.5.RELEASE</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-messaging</artifactId>
<version>5.0.5.RELEASE</version>
<scope>provided</scope>
</dependency>发布于 2019-08-09 07:49:52
执行以下步骤:如果您使用的是STS/Eclipse然后是Right click on project -> Maven -> Update project -> Select Force Update Snapshots/Release and OK。或者,如果您正在使用update your maven from terminal,也可以使用IntelliJ IDEA。之所以发生这种情况,是因为它无法找到特定的jar/类。
https://stackoverflow.com/questions/57424609
复制相似问题