On Sat, May 22, 2010 at 8:31 AM, Loh Kok Jeng <[email protected]> wrote:

> Hi,
>
> I imported CXF source codes into Eclipse as described in the
> http://cxf.apache.org/setting-up-eclipse.html
>
> However, I still get "The project cannot built until the build path
> errors are resolved".
>
> On the build path settings, the jars are pointed to "M2_REPO/..../...jar".
>

You need to define M2_REPO classpath variable pointing to your local maven2
repository. Select from menu bar, Windows -> Preferences -> Java -> Build
Path -> Classpath Variable -> New
Name :    M2_REPO
Path : <path-to-m2-local-repository> (For instance
/home/user/.m2/repository)

Once you set it, project will recompile and it will clear up those build
path errors.

HTH
Nilupa

>
> How can I fix this problem?
>
> Thanks.
>



-- 
Nilupa Bandara

Reply via email to