Hi Anusha, Can you post some error here, is related to JUnit ? ClassNotFoundException comes when JVM tries to load class as result of method call Class.forName(), ClassLoader.findSystemClass() or ClassLoader.loadClass() Javin unsupportedclassversion error in java error is being shown in the console while running the JUNIT. However ClassNotFoundException seems to occur, while loading the main program, it does not found a class, which is being expected to be present. NoClassDefFoundError mainly occurs at that time, when you have the class present in the JVM, however the JVM could not be able to load the class because of some reason (that can be either can exception is being thrown in the static block of the class) or for some other reason. Eclipse is giving so much problem to me can any one help else has got NoClassDefFoundError in Eclipse ?Ĭan you post exact error or exception comes due to many different reason. I checked the classpath and seems class is there. I am getting while running my program in Eclipse IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |