Bad Class File Error in java | Wrong Version Issue In Maven With TestNG | Fix Provided
HTML-код
- Опубликовано: 20 фев 2023
- Many times when you try to run your automated test via the maven surefire plugin, you might come across a bad class issue in Java with testing. In this video, I have provided a quick fix for the same.
All Playlist
/ mukeshotwani
Selenium With Java
• How To Learn Programmi...
If you want to support this channel
rzp.io/l/qNCApzHHL3
All Playlist
/ mukeshotwani
Connect with us:
Email - mukeshotwani@learn-automation.com
Linkedin- / mukesh-otwani-93631b99
Instagram- / mukeshotwaniofficial
Facebook Group- / 256655817858291 Наука
It works for me really I spend whole day to fix it. After watching your video less than 1 min issue fixed. Really u helped me alot.
Thanks. It helped me solve my problem. You saved my time.
Really it works for me thank you so much☺
thank you so much for this information. my tests are running now easily
Great Payal Happy Learning
Issue resolved, thanks..
Hi mukesh sir hope you are doing good, I have one doubt let's say I am creating one end to end flow where the first page belongs to the login page and then create the course and then log out. And I am taking login test data from excel using data provider in which valid credentials and invalid credentials are there so how this flow will be done. Because for invalid we have to handle warning messages.? Please help me on this.
Im also facing the same issue but not with TestNG but with Webdriver.class....can you please provide me a solution??
I have facing below issue while creating build using maven : Error:(3, 34) java: cannot access org.openqa.selenium.remote.RemoteWebElement
bad class file: C:\Users\[username]\.m2
epository\org\seleniumhq\selenium\selenium-remote-driver\4.16.1\selenium-remote-driver-4.16.1.jar(org/openqa/selenium/remote/RemoteWebElement.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
below dependencies i have used
selenium-java - 4.16.1
io.appium - 8.2.1
testng - 7.8.0
java (jdk) -17
Did you have any idea why this issue I am facing, I am trying solve but did not get any solution..
If you have any solution ..please suggest..
I got the solution... when I apply java version 11 then it resolve...
I'm facing same issue with maven and Java 11. So what is solution so I can use Java 11.
Have you tried the solution which I have mentioned in the video?
Hello sir please start POM in playwright 🙏
Whoever is reading this, never give up. God is with you.
Its works for me thanks a lot🤩
Really it works for me thank you so much☺
Hey Prity, I am glad it helped.