Exception in thread "main" java.lang.NoClassDefFoundError: c | Selenium Forum
M
Posted on 03/11/2015
HI Ashish

I am having "Exception in thread "main" java.lang.NoClassDefFoundError: c" error message , please advice solution ..?

Attached screen shots for reference

Thanks

M
Replied on 03/11/2015

If you receive this error, java cannot find your bytecode file, Gmail.class.

to fix it do project>>clean


M
Replied on 06/11/2015

[quote="qtpselenium.supp0rt@gmail.com":1ysij0ku]If you receive this error, java cannot find your bytecode file, Gmail.class.

to fix it do project>>clean[/quote:1ysij0ku]

HI Ashish

I tried "clean" but this is still happening ...?

Responsive image

M
Replied on 06/11/2015

create a new project. and then [color=#FF0000:1wxtggko]copy Gmail.java into the new project[/color:1wxtggko] because the problem is that eclipse(java) can't find your build(.class files).