乘风原创程序

  • was启动报错 Failed to load MBeanServerBuilder
  • 2021/2/23 10:09:50
  • 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://blog.csdn.net/weixin_37214912/article/details/113992601