• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Testing with Selenium WebDriver : NoSuchBeanDefinitionException?

 
Bartender
Posts: 1868
81
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
https://www.packtpub.com/application-development/learning-spring-boot-20-second-edition

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.
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic