org.testng.TestNGException: Cannot find class in classpath: com.rock.and.roll.MusicalTest

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by BSJ
, 1 year ago
Cannot find class in classpath: com.rock.and.roll.MusicalTest
via Google Groups by Vasty Jay, 2 years ago
Cannot find class in classpath: com.orders_package.OrdersTest
via supportcode.xyz by Unknown author, 1 year ago
Cannot find class in classpath: .firstClass
via Stack Overflow by SacTan
, 6 months ago
Cannot find class in classpath: com.google.tests.GoogleHomePageTest
via Stack Overflow by user3563252
, 2 years ago
Cannot find class in classpath: .firstClass
via Stack Overflow by R11G
, 2 years ago
Cannot find class in classpath: Selenium2Example
org.testng.TestNGException: Cannot find class in classpath: com.rock.and.roll.MusicalTest
at org.testng.xml.XmlClass.loadClass(XmlClass.java:81)
at org.testng.xml.XmlClass.init(XmlClass.java:73)
at org.testng.xml.XmlClass.(XmlClass.java:59)
at org.testng.xml.TestNGContentHandler.startElement(TestNGContentHandler.java:543)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.