-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hello,
I have got the below exception while trying to run your application
`2020-10-18 01:14:22.079 WARN 3644 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AQLRunner': Unsatisfied dependency expressed through field 'repository'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.arangodb.spring.demo.repository.CharacterRepository' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2020-10-18 01:14:22.098 ERROR 3644 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Field repository in com.arangodb.spring.demo.runner.AQLRunner required a bean of type 'com.arangodb.spring.demo.repository.CharacterRepository' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.arangodb.spring.demo.repository.CharacterRepository' in your configuration.`
I am using the java 8. Do you have idea why the pplication is not starting