`

NoClassDefFoundError: org/jboss/mx/util/PropertyAccess

阅读更多
  • Caused by: java.lang.NoClassDefFoundError: org/jboss/mx/util/PropertyAccess
  • at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:202)
  • at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:153)
  • at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:147)
  • at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
  • at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
  • at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.<init>(ActiveManagementCoordinator.java:42)
  • at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  • at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  • at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  • at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  • at java.lang.Class.newInstance0(Class.java:355)
  • at java.lang.Class.newInstance(Class.java:308)
  • at com.mchange.v2.c3p0.C3P0Registry.<clinit>(C3P0Registry.java:134)
  • at com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:228)
  • at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62)
  • at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109)
  • at com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105)
  • at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  • at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  • at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  • at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  • at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:96)
  • ... 57 more


有很多方法说是解决方法: 把J2EE1.4的包去掉
但是去掉J2EE1.4,其他程序会有影响的
后来发现有些类库需要java ee5支持
因此我就把J2EE1.4 换成了java EE5 libsers了
问题解决了
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics