eclipse - Jetty Startup issue: WebAppContext:Failed startup of context o.e.j.w.WebAppContext{/,null} -
i´m trying start new project war maven , spring spring tool suite ide, downloaded project git hub, project made on macs , i´m working in windows.
this i´m getting when try start jetty server:
2013-09-03 10:01:47.161:info:oejs.server:jetty-8.1.12.v20130726 2013-09-03 10:01:47.179:info:oejdp.scanningappprovider:deployment monitor c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps @ interval 1 2013-09-03 10:01:47.183:info:oejdp.scanningappprovider:deployment monitor c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\contexts @ interval 1 2013-09-03 10:01:47.187:info:oejd.deploymentmanager:deployable added: c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\contexts\moca-console.xml 2013-09-03 10:01:47.238:warn:oejw.webinfconfiguration:web application not found c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0/wtpwebapps/moca-console 2013-09-03 10:01:47.239:warn:oejw.webappcontext:failed startup of context o.e.j.w.webappcontext{/,null},c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0/wtpwebapps/moca-console java.io.filenotfoundexception: c:\users\hp\documents\workspace-sts-3.3.0.release\.metadata\.plugins\org.eclipse.wst.server.core\tmp0/wtpwebapps/moca-console @ org.eclipse.jetty.webapp.webinfconfiguration.unpack(webinfconfiguration.java:502) @ org.eclipse.jetty.webapp.webinfconfiguration.preconfigure(webinfconfiguration.java:71) @ org.eclipse.jetty.webapp.webappcontext.preconfigure(webappcontext.java:457) @ org.eclipse.jetty.webapp.webappcontext.dostart(webappcontext.java:493) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:64) @ org.eclipse.jetty.deploy.bindings.standardstarter.processbinding(standardstarter.java:39) @ org.eclipse.jetty.deploy.applifecycle.runbindings(applifecycle.java:186) @ org.eclipse.jetty.deploy.deploymentmanager.requestappgoal(deploymentmanager.java:494) @ org.eclipse.jetty.deploy.deploymentmanager.addapp(deploymentmanager.java:141) @ org.eclipse.jetty.deploy.providers.scanningappprovider.fileadded(scanningappprovider.java:145) @ org.eclipse.jetty.deploy.providers.scanningappprovider$1.fileadded(scanningappprovider.java:56) @ org.eclipse.jetty.util.scanner.reportaddition(scanner.java:615) @ org.eclipse.jetty.util.scanner.reportdifferences(scanner.java:540) @ org.eclipse.jetty.util.scanner.scan(scanner.java:403) @ org.eclipse.jetty.util.scanner.dostart(scanner.java:337) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:64) @ org.eclipse.jetty.deploy.providers.scanningappprovider.dostart(scanningappprovider.java:121) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:64) @ org.eclipse.jetty.deploy.deploymentmanager.startappprovider(deploymentmanager.java:555) @ org.eclipse.jetty.deploy.deploymentmanager.dostart(deploymentmanager.java:230) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:64) @ org.eclipse.jetty.util.component.aggregatelifecycle.dostart(aggregatelifecycle.java:81) @ org.eclipse.jetty.server.handler.abstracthandler.dostart(abstracthandler.java:58) @ org.eclipse.jetty.server.handler.handlerwrapper.dostart(handlerwrapper.java:96) @ org.eclipse.jetty.server.server.dostart(server.java:282) @ org.eclipse.jetty.util.component.abstractlifecycle.start(abstractlifecycle.java:64) @ org.eclipse.jetty.xml.xmlconfiguration$1.run(xmlconfiguration.java:1259) @ java.security.accesscontroller.doprivileged(native method) @ org.eclipse.jetty.xml.xmlconfiguration.main(xmlconfiguration.java:1182) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:601) @ org.eclipse.jetty.start.main.invokemain(main.java:473) @ org.eclipse.jetty.start.main.start(main.java:615) @ org.eclipse.jetty.start.main.main(main.java:96) 2013-09-03 10:01:47.277:info:oejs.abstractconnector:started selectchannelconnector@0.0.0.0:8080
i have tried bunch of possible solutions without success. suggestion welcome.
it seems eclipse sts workspace out of sync content published in server. try clean server, clean working directory, clean projects , republish project server.
if not work, try these steps regenerate eclipse workspace:
- close eclipse , maven clean install command line
- delete eclipse related files: .project, .classpath , .settings
- reopen eclipse, , configure maven use same maven command line
- import project using 'import maven project'
- scrap jetty , redownload clean one
- create new jetty server, point new jetty , add application it
- republish application , start server
Comments
Post a Comment