Ant compile error | Selenium Forum
M
Posted on 24/08/2016
Hi,

I am getting the error "org.junit does not exist" while trying to compile using ant.I have checked all the .java files, the required line "import org.junit.__" is written .Please help.

Thank you,

Yasmeen

M
Replied on 24/08/2016

junit jar is missing.

add this to your jars folder
http://www.java2s.com/Code/Jar/j/Downloadjunit4431jar.htm


M
Replied on 25/08/2016

I have downloaded & placed the junit4431 jar file in the c:\jars and also have included it in the project as external jar file.
But still getting the same error at compile time. Please let me know where i might be doing the mistake. Thank you

Responsive image

M
Replied on 25/08/2016

errors have reduced by adding the junit jar. try adding the same version junit you used creating the project.