Maven - Debug - Can not find symbol <p>During using mvn install or mvn compile i got error that maven can not find symbol with different methods and variables in mozilla rhino classes. I made exclusions everywhere where it is possible and said to use 7r5 build for rhino. Also i decompiled jar and got sure that mentioned classes and methods in maven were in that classes. I had pom deps and i couldnt exclude all 3d libraries. So in classpath i saw also path to rhino 6r5 library. I thought that problem was there. So i also decompiled that jar but i saw that methods in the error were also there. My question is how i can debug maven and see what library or class it is using for compiling class. All mozilla rhino libraries which are set in classpath have that methods. PS: I wanted to mention that mvn eclipse:eclipse works fine and i have no errors in eclipse.</p> <pre><code>[ERROR] ...path_to_class...:[264,65] cannot find symbol [ERROR] symbol: method getLength() [ERROR] location: class org.mozilla.javascript.NativeArray [ERROR] ...path_to_class...:[288,18] cannot find symbol [ERROR] symbol: method getWrapFactory() [ERROR] location: variable cx of type org.mozilla.javascript.Context [ERROR] ...path_to_class...:[322,49] cannot find symbol [ERROR] symbol: method getLength() [ERROR] location: variable array of type org.mozilla.javascript.NativeArray </code></pre>