org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.fasterxml.jackson.databind.ObjectMapper com.iggroup.api.service.AbstractService.objectMapper; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.goodsoft.stockbox.ig.business.service.ApiService] for bean with name 'apiservice' defined in URL [jar:file:/E:/StockBox-16.9.0-win/StockBox.exe!/public-api-client-spring-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goodsoft.stockbox.ig.business.service.ApiService 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.ig.a.a(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.providers.a.d.c.a(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.commons.b.c.e.a(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.commons.b.c.e.a(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.commons.b.c.c.a(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at com.goodsoft.stockbox.commons.f.e.f.actionPerformed(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.DefaultButtonModel.setPressed(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at java.awt.Component.processMouseEvent(Unknown Source) 2016-wrz-09 17:14:51,568 ERROR [AWT-EventQueue-0] - at javax.swing.JComponent.processMouseEvent(Unknown Source)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Hons

Add slf4j dependency to your pom.xml

,
via Stack Overflow by Al Sweetman

Check Servers Launch Configuration in Eclipse. See the details below.

Solutions on the web

via Stack Overflow by czArek
, 1 year ago
' defined in URL [jar:file:/E:/StockBox-16.9.0-win/StockBox.exe!/public-api-client-spring-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goodsoft.stockbox.ig.business.service.ApiService 2016-wrz-09 17:14:51,568 ERROR [AWT
org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.fasterxml.jackson.databind.ObjectMapper com.iggroup.api.service.AbstractService.objectMapper; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.goodsoft.stockbox.ig.business.service.ApiService] for bean with name 'apiservice' defined in URL [jar:file:/E:/StockBox-16.9.0-win/StockBox.exe!/public-api-client-spring-context.xml]; nested exception is java.lang.ClassNotFoundException: com.goodsoft.stockbox.ig.business.service.ApiService
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.goodsoft.stockbox.commons.b.c.e.a(Unknown Source)
at com.goodsoft.stockbox.commons.f.h.a.b.j(Unknown Source)
at com.goodsoft.stockbox.trading.a.l.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

Users with the same issue

Once, 8 months ago
7 times, 10 months ago
2 times, 1 year ago
4 times, 1 year ago
63 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.