Home > Back-end >  Pay treasure to pay is always an error Java. Lang. ClassNotFoundException: com. Alipay. The demo. Tr
Pay treasure to pay is always an error Java. Lang. ClassNotFoundException: com. Alipay. The demo. Tr

Time:09-17

Pay treasure to pay problem, jars to introduce but has been an error
Org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'orderController: Injection of autowired dependencies failed; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Could not autowire field: private com. MVC. Service. IOrderService com. MVC. Controller. OrderController. IOrderService; Nested exception is Java. Lang. NoClassDefFoundError: com/alipay/demo/trade/service/AlipayTradeService
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessPropertyValues (AutowiredAnnotationBeanPostProcessor. Java: 334)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. PopulateBean (AbstractAutowireCapableBeanFactory. Java: 1210)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. DoCreateBean (AbstractAutowireCapableBeanFactory. Java: 537)
The at org. Springframework. Beans. Factory. Support. AbstractAutowireCapableBeanFactory. CreateBean (AbstractAutowireCapableBeanFactory. Java: 476)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory $1. GetObject (AbstractBeanFactory. Java: 303)
The at org. Springframework. Beans. Factory. Support. DefaultSingletonBeanRegistry. GetSingleton (DefaultSingletonBeanRegistry. Java: 230)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. DoGetBean (AbstractBeanFactory. Java: 299)
The at org. Springframework. Beans. Factory. Support. AbstractBeanFactory. GetBean (AbstractBeanFactory. Java: 194)
The at org. Springframework. Beans. Factory. Support. DefaultListableBeanFactory. PreInstantiateSingletons (DefaultListableBeanFactory. Java: 755)
The at org. Springframework. Context. Support. AbstractApplicationContext. FinishBeanFactoryInitialization (AbstractApplicationContext. Java: 757)
The at org. Springframework. Context. Support. AbstractApplicationContext. Refresh (AbstractApplicationContext. Java: 480)
The at org. Springframework. Web. Servlet. FrameworkServlet. ConfigureAndRefreshWebApplicationContext (FrameworkServlet. Java: 664)
The at org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 630)
The at org. Springframework. Web. Servlet. FrameworkServlet. CreateWebApplicationContext (FrameworkServlet. Java: 678)
The at org. Springframework. Web. Servlet. FrameworkServlet. InitWebApplicationContext (FrameworkServlet. Java: 549)
The at org. Springframework. Web. Servlet. FrameworkServlet. InitServletBean (FrameworkServlet. Java: 490)
The at org. Springframework. Web. Servlet. HttpServletBean. Init (HttpServletBean. Java: 136)
The at javax.mail. Servlet. GenericServlet. Init (GenericServlet. Java: 160)
The at org. Apache. Catalina. Core. StandardWrapper. InitServlet (StandardWrapper. Java: 1266)
The at org. Apache. Catalina. Core. StandardWrapper. LoadServlet (StandardWrapper. Java: 1185)
At org. Apache. Catalina. Core. StandardWrapper. Load (1080) StandardWrapper. Java:
The at org. Apache. Catalina. Core. StandardContext. LoadOnStartup (StandardContext. Java: 5027)
The at org. Apache. Catalina. Core. StandardContext. StartInternal (StandardContext. Java: 5314)
The at org. Apache. Catalina. Util. LifecycleBase. Start (LifecycleBase. Java: 150)
The at org. Apache. Catalina. Core. ContainerBase. AddChildInternal (ContainerBase. Java: 901)
The at org. Apache. Catalina. Core. ContainerBase. AddChild (ContainerBase. Java: 877)
The at org. Apache. Catalina. Core. StandardHost. AddChild (StandardHost. Java: 618)
The at org. Apache. Catalina. Startup. HostConfig. DeployDirectory (HostConfig. Java: 1100)
The at org. Apache. Catalina. Startup. HostConfig $DeployDirectory. Run (HostConfig. Java: 1618)
The at Java. Util. Concurrent. Executors $RunnableAdapter. Call (471) Executors. Java:
The at Java. Util. Concurrent. FutureTask. Run (FutureTask. Java: 262)
The at Java. Util. Concurrent. ThreadPoolExecutor. RunWorker (ThreadPoolExecutor. Java: 1145)
The at Java. Util. Concurrent. ThreadPoolExecutor $Worker. The run (ThreadPoolExecutor. Java: 615)
The at Java. Lang. Thread. The run (Thread. Java: 745)
Under Caused by: org. Springframework. Beans. Factory. BeanCreationException: Could not autowire field: private com. MVC. Service. IOrderService com. MVC. Controller. OrderController. IOrderService; Nested exception is Java. Lang. NoClassDefFoundError: com/alipay/demo/trade/service/AlipayTradeService
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor $AutowiredFieldElement. Inject (AutowiredAnnotationBeanPostProcessor. Java: 561)
The at org. Springframework. Beans. Factory. The annotation. InjectionMetadata. Inject (InjectionMetadata. Java: 88)
The at org. Springframework. Beans. Factory. The annotation. AutowiredAnnotationBeanPostProcessor. PostProcessPropertyValues (AutowiredAnnotationBeanPostProcessor. Java: 331)
. 33 more
Under Caused by: Java. Lang. NoClassDefFoundError: com/alipay/demo/trade/service/AlipayTradeService
The at Java. Lang. Class. GetDeclaredMethods0 (Native Method)
The at Java. Lang. Class. PrivateGetDeclaredMethods (Class. Java: 2615)
The at Java. Lang. Class. GetDeclaredMethods (Class. Java: 1860)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related