So I am now very confused.
Some history.
I have exported a working project from Eclipse Galileo - not including .classpath/.settings/.project
to a non Eclipse workspace directory.
I have moved that project directory into the Eclipse Helios workspace.
I have imported that project as an 'existing maven project'.
I have cleaned the project.
I can maven:clean and maven:install the project - both successfully.
I have updated the 'maven dependencies' and 'project configuration'.
But when I 'run on server' I get.
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
If I look at the project / properties / java build path / libraries under 'maven dependencies' I can see spring-web jar with org.springframework.web.context.ContextLoaderListener
Note: m2eclipse and WTP - 0.13.0
Any pointers on the way to go - gratefully received.
--- On Sat, 28/5/11, N WEINRONK <nweinronk@xxxxxxxxxxxxxx> wrote:
From: N WEINRONK <nweinronk@xxxxxxxxxxxxxx> Subject: Re: [m2e-users] Export / Import -> to workspace. To: "Maven Integration for Eclipse users mailing list" <m2e-users@xxxxxxxxxxx> Date: Saturday, 28 May, 2011, 14:55
Also now getting java.lang.ClassNotFoundException
when again jar is in the 'maven dependencies' but the usual 'clean' / 'update dependencies' does not help.
Nigel
--- On Sat, 28/5/11, N WEINRONK <nweinronk@xxxxxxxxxxxxxx> wrote:
From: N WEINRONK <nweinronk@xxxxxxxxxxxxxx> Subject: Re: [m2e-users] Export / Import -> to workspace. To: "Maven Integration for Eclipse users mailing list" <m2e-users@xxxxxxxxxxx> Date: Saturday, 28 May, 2011, 14:29
Thanks I will give this a go.
One other question I have now started to get a NoClassDefFoundError error when 'run on server' is done.
However I can see the jar in the Maven dependencies.
I have tried the usual 'clean' / update dependencies etc. but no luck.
Any advice here ?
Thanks,
--- On Sat, 28/5/11, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
From: Igor Fedorenko <igor@xxxxxxxxxxxxxx> Subject: Re: [m2e-users] Export / Import -> to workspace. To: m2e-users@xxxxxxxxxxx Date: Saturday, 28 May, 2011, 12:48
You can move projects to the new workspace location before importing them. -- Regards, Igor On 11-05-28 06:03 AM, Nigel Weinronk wrote: > To solve a problem I have had to move from Eclipse Galileo to Eclipse > Helios. > > My project in Eclipse Galileo was inside the workspace directory. > > I exported it to a non Eclipse directory. > > I imported it as a ‘Maven project’ into Eclipse Helios. > > This leaves the project directory outside the workspace directory. > > Is there a way to move this back into the workspace directory ? > > Thanks as usual > _______________________________________________ m2e-users mailing list m2e-users@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/m2e-users
|
| -----Inline Attachment Follows-----
|