was启动报错 Failed to load MBeanServ

2021-02-24  本文已影响0人  小伟_5d61

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]
    ...  

解决方案:原创--> https://www.yuque.com/docs/share/b9b67ba8-ab55-49f9-a330-fda95f7fe110?# 《was启动报错》

上一篇下一篇

猜你喜欢

热点阅读