[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Junit ignored by Maven Wayne Fay Mon Feb 20 01:00:29 2012

> MAVEN ERROR: Cannot find symbol

A small point of correction, this is not a Maven error but rather a
compiler error that is being reported by Maven.

Can you please copy and paste the actual error text (not the whole log,
just a couple lines please) that show the cannot find symbol error plus a
couple lines before and after for context?

It may also be instructive to you if you use mvn -X so you see additional
debugging text and you can try to run the compilation for yourself using
the same javac... command that Maven is attempting to use.

Something more is going on here as many people use JUnit very successfully.