Eclipse doesn't know anything about the pom.  You need to have m2e installed
and the project configured as a Maven project.  If both of those are true
then the error log probably also has an entry about a missing dependency, or
alternatively you can open the pom in the pom editor and the errors should
be marked there.

Matthew

On 19 August 2011 09:42, Ruttenberg, Tanya Contractor <
[email protected]> wrote:

>  I am new to maven, but not particularly new to eclipse.
>
> When I get errors such as “<ClassName> cannot be resolved to a type” is the
> solution to add a project or library to the project’s Build Path or to add a
> dependancy to the POM?
>
> I’m unclear on how much eclipse “understands” what is in the POM.
> Can someone elaborate on this?
> TDR
>
>
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to