was启动报错 Failed to load MBeanServerBuilder

本文记录了一名开发者在将Druid数据源集成到Spring Boot应用时遇到ClassNotFoundException的问题,重点在于解决PlatformMBeanServerBuilder加载失败的错误,以及提供可能的解决方案。
摘要由CSDN通过智能技术生成
ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder

register druid-driver mbean error

2021-02-18 14:06:38.048 [pickup watcher ] ERROR ROOT # - Failed to load MBeanServerBuilder class com.ibm.ws.management.PlatformMBeanServerBuilder
com.yss.sofa.framework.exception.SOFAException: Failed to load MBeanServerBuilder class com.ibm.ws.management.PlatformMBeanServerBuilder
	at com.yss.sofa.framework.exception.SOFAException.<init>(SOFAException.java:108) ~[bundlefile:na]
	at com.yss.sofa.extender.datasource.DataSourceFactoryBean.createDataSource(DataSourceFactoryBean.java:110) [bundlefile:na]
	at com.yss.sofa.extender.datasource.DataSourceFactoryBean.<init>(DataSourceFactoryBean.java:39) [bundlefile:na]
	...

Caused by: javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class com.ibm.ws.management.PlatformMBeanServerBuilder: 
			java.lang.ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder not found from bundle [com.yss.sofa.extender]
	at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:492) ~[na:1.6.0]
    ...
Caused by: java.lang.ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder not found from bundle [com.yss.sofa.extender]
	at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:98) ~[bundlefile:1.2.1]
    ...	 
Caused by: java.lang.ClassNotFoundException: com.ibm.ws.management.PlatformMBeanServerBuilder
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) ~[org.eclipse.osgi-3.7.1.jar:na]
    ...	 

链接>:解决方案【点我】

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
>