• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Testing with Selenium WebDriver : NoSuchBeanDefinitionException?

Posts: 1868
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting a NoSuchBeanDefinitionException  error message when I try to use getBean on the Selenium WebDriver
The class only has a few lines of code and it's shown below:

I'm not too sure if you would want to see my build.gradle file, but here it is:

Can you please help me out?

This code came from "Learning Spring Boot 2.0 - Second Edition" which can be found here

I know that one difference between  the author's setup and mine is that the author was using Mac and I'm using Windows 10 Pro.
I'm also using Java 9 and I'm not too sure what the author used.
    Bookmark Topic Watch Topic
  • New Topic