I often get those sort of errors; I find stopping the server, selecting 'Clean' (right click on the server in the servers tab), and restarting the server sorts it.
Greg On Tuesday, 23 August 2011, Hugi Thordarson <[email protected]> wrote: > Hi Fred. > Thanks for pointing me to the .log file. I had a stack trace there that provided me some foundation for googling—and found out it was a configuration problem with my Tomcat. I intalled a fresh Tomcat 6 and used that instead, and had more luck with it that way. > However, now I'm getting odd errors when attempting to start up the application; sometimes the app doesn't find the compiled jsp pages, and sometimes it can't find regular classes, even after I've explicitly added the projects containing them to the project's build path. > Are there any additional steps involved in running a mvn-wtp (or war overlay) project? I should just be able to follow the following procedure, right? > 1. Checkout the maven projects from source control > 2. Import them into my workspace > 3. Create a new runtime from my fresh Tomcat 6 installation > 4. Right click on the project, select "Run As… Run on server" and run it on the new server > 5. Enjoy the fruits of my hard labour, with automatic copying of resources and class hotswapping > Am I missing something here? > Cheers, > - hugi > > On 22.8.2011, at 23:56, Fred Bricon wrote: > > The error message hints at an error in the WTP server adapter layer. I don't have enough information to point to a specific m2e-wtp issue. > Can you look in Eclipse log file ( <workspace>/.metadata/.log ) to get more details on the exception stacktrace? > > Regards, > > Fred Bricon > > 2011/8/10 Hugi Thordarson <[email protected]> >> >> Hi all. >> >> I'm trying out the m2e-wtp support in m2e-wtp (huzzah that it's finally there!) >> I'm hitting a problem though. I import my overlays into the workspace (maven war projects) and then I import my web project, that depends on the war projects. So far so good. >> >> Then I create a new Tomcat 6 server, and attempt to publish (choosing Run as -> Run on server). >> >> When the server attempts to start, I get this error: >> >> " >> Removing obsolete files from server >> Could not clean server of obsolete files: null >> java lang NullPointerException" >> " >> >> Anyone have an idea what's happening? Or know where I can find some better debugging information? >> >> Cheers, >> - hug >> _______________________________________________ >> m2e-users mailing list >> [email protected] <[email protected]> >> https://dev.eclipse.org/mailman/listinfo/m2e-users < https://dev.eclipse.org/mailman/listinfo/m2e-users> > > > > -- > "Have you tried turning it off and on again" - The IT Crowd > _______________________________________________ > 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
