Home forums Using CanvasJS error in creating charts in eclipse ide – spring mvc

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 2 months, 3 weeks ago.

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

    ayesha singh
    Member

    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)}

    #21331

    Priyanka M S
    Member

    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

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

You must be logged in to reply to this topic.