Home forums Chart Support error in creating charts in eclipse ide – spring mvc


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #21275

    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.

    2.Injection of autowired dependencies failed

    Priyanka M S
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.