oliver.m2eclipse wrote: > all i have 2 project ,one depend on the other one in the workspace, i had checked the option of resolve dependencies from workspace, > but it doesnt work, there is still erros about cant find the class。 > There is no errors in pom,and i also can find the dependent project on the build path's Libraries. > how can i resolve the imported classes?
Unfortunately, information you provided tells very little about what is happening on your side, or what does not work and where you see any errors. So, lets start from describing steps in more details. Here is an example or report template that you could fill in in order to give other readers enough information to help you: Details about your environment: - I am using Eclipse version 3.x and m2eclipse version 0.9.x (Eclipse configuration details attached; you can get them from Help / About Eclipse SDK / Configuration Details) - created project A in Eclipse workspace, here its pom.xml (attached) - created project B in Eclipse workspace declares A as dependency, here its pom.xml (attached) Details about your actions: - run "Maven / Update Project Configuration" form popup menu on both projects A and B, or run "Maven / Update Dependencies" action, or run "Project / Clean" action, or run action "XYZ" on zyx. - after build is complete, open "Problems" view (or "All Markers" view in Eclipse 3.4) and see the following erros, the error text is copied below or attached (you can use "Copy" action in Problems view to copy error text) OR - from popup menu on project B used "Run as... / Java application" on class XYZ and got the following error/exception, etc. - command line for the failed process is also shown below/attached (see more details how to retrieve command line text for the failed process at http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues#ReportingIssues-process) With such report other readers will have much better chance to follow the same steps and be able to reproduce and investigate your issues. regards, Eugene --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
