Generally speaking, m2eclipse uses maven rules to calculate runtime
classpath so, for example, you will only have test dependencies when
running tests. I will be able to give more specific answer, if you can
provide sample project and steps to reproduce the problem.
youhaodeyi wrote:
I add Maven dependencies to Eclipse project and there is nothing wrong with
compiling. When I run the project in Eclipse, I will get
NoClassDefFoundError error and the dependency has been added as Maven
dependency. why did this happen?
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email