I have implemented project by using third party library(zxing) after implementation project is working fine then after I have written one test project to unit test my projec
It is because zxing jar files are being loaded twice,
You must set the zxing library as "Provided" (if you are compiling your code using Maven) in compile time, so it does not add the library to your bytecode. that way you wouldn't get the error