Home > Back-end >  No problem, unit test connection pool integrate SSM is a ClassNotFound, I don't know why, two J
No problem, unit test connection pool integrate SSM is a ClassNotFound, I don't know why, two J

Time:10-06

Org. Springframework. Beans. Factory. CannotLoadBeanClassException: always find a class [org.apache.com mons. Dbcp2. BasicDataSource] for bean with the name 'dataSource' defined in the class path resource [spring/applicationContext. XML]; Nested exception is Java. Lang. ClassNotFoundException: org.apache.com mons. Dbcp2. BasicDataSource
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. ResolveBeanClass (AbstractBeanFactory. Java: 1477)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DetermineTargetType (AbstractAutowireCapableBeanFactory. Java: 682)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PredictBeanType (AbstractAutowireCapableBeanFactory. Java: 649)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. IsFactoryBean (AbstractBeanFactory. Java: 1605)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. IsFactoryBean (AbstractBeanFactory. Java: 1081)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 859)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 878)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 550)
The at org. Springframework. Web. Context. ContextLoader. ConfigureAndRefreshWebApplicationContext (ContextLoader. Java: 401)
The at org. Springframework. Web. Context. ContextLoader. InitWebApplicationContext (ContextLoader. Java: 292)
The at org. Springframework. Web. Context. ContextLoaderListener. ContextInitialized (ContextLoaderListener. Java: 103)
The at org. Apache. Catalina. Core. StandardContext. ListenerStart (StandardContext. Java: 5197)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5720)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 145)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 1018)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 994)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 662)
The at org. Apache. Catalina. Startup. HostConfig. ManageApp (HostConfig. Java: 1899)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. The base/Java. Lang. Reflect. Method. Invoke (566) Method. The Java:
At org, apache tomcat. Util. Modeler. BaseModelMBean. Invoke (BaseModelMBean. Java: 301)
The at Java. Management/com. Sun. JMX. Interceptor. DefaultMBeanServerInterceptor. Invoke (DefaultMBeanServerInterceptor. Java: 809)
The at Java. Management/com. Sun.. JMX mbeanserver. JmxMBeanServer. Invoke (JmxMBeanServer. Java: 801)
The at org. Apache. Catalina. Mbeans. MBeanFactory. CreateStandardContext (MBeanFactory. Java: 619)
The at org. Apache. Catalina. Mbeans. MBeanFactory. CreateStandardContext (MBeanFactory. Java: 566)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. The base/Java. Lang. Reflect. Method. Invoke (566) Method. The Java:
At org, apache tomcat. Util. Modeler. BaseModelMBean. Invoke (BaseModelMBean. Java: 301)
The at Java. Management/com. Sun. JMX. Interceptor. DefaultMBeanServerInterceptor. Invoke (DefaultMBeanServerInterceptor. Java: 809)
The at Java. Management/com. Sun.. JMX mbeanserver. JmxMBeanServer. Invoke (JmxMBeanServer. Java: 801)
The at Java. Management/com. Sun. JMX. Remote. Security. MBeanServerAccessController. Invoke (MBeanServerAccessController. Java: 468)
The at Java. Management. The rmi/javax.mail management remote. The rmi. RMIConnectionImpl. DoOperation (RMIConnectionImpl. Java: 1466)
At Java. Management. The rmi/javax.mail management remote. The rmi. RMIConnectionImpl $PrivilegedOperation. Run (1307) RMIConnectionImpl. Java:
The at Java. The base/Java. Security. The AccessController. DoPrivileged (Native Method)
The at Java. Management. The rmi/javax.mail management remote. The rmi. RMIConnectionImpl. DoPrivilegedOperation (RMIConnectionImpl. Java: 1406)
The at Java. Management. The rmi/javax.mail management remote. The rmi. RMIConnectionImpl. Invoke (RMIConnectionImpl. Java: 827)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
The at Java. The base/JDK. Internal. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
The at Java. The base/JDK. Internal. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. The base/Java. Lang. Reflect. Method. Invoke (566) Method. The Java:
At Java rmi/sun. Rmi. Server UnicastServerRef. Dispatch (UnicastServerRef. Java: 359)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related