You must be logged in to post your query.
Home › Forums › Chart Support › error in creating charts in eclipse ide – spring mvc
Tagged: MVC
spring mvc chart code
I m getting following error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘restController’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.canvasjs.chart.services.CanvasjsChartService com.canvasjs.chart.controllers.RestController.canvasjsChartService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.canvasjs.chart.services.CanvasjsChartService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=CanvasjsChartService)}
ayesha singh,
These errors are due to improper project configuration. Please refer to these links which would help you to solve initial set up issues.
1.CannotLoadBeanClassException 2.Injection of autowired dependencies failed
__ Priyanka M S Team CanvasJS
You must be logged in to reply to this topic. Login/Register