Guest User

Untitled

a guest
Feb 25th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. import scala.concurrent.ExecutionContext.Implicits.global
  2.  
  3. class UserStorageService(
  4. @Qualifier("userdb") val databaseConnector: DatabaseConnector
  5. )(implicit executionContext: ExecutionContext) extends UserStorageTable {
  6.  
  7. private val userStorageService = appContext.getBean(classOf[UserStorageService])
  8.  
  9. Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException:
  10. No qualifying bean of type 'scala.concurrent.ExecutionContext' available:
  11. expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Add Comment
Please, Sign In to add comment