I would suggest you to do a project->clean under eclipse and also to do a mvn clean before the build of your war. I would also try to clean the remote server.
2015-09-13 19:54 GMT+02:00 Christine <myli...@christine.nl>: > On 13-09-15 19:34, françois facon wrote: > >> Good news! >> >> I had to face the same problem with some tapestry5-jquery components >> Your issue is related to TAP5-2463. >> This should be fix in next version. >> >> Anyway, if you don't have any legacy code that use prototype.js, it is >> better to only use jQuery. >> > > :-) > I didn't have javascript, I don't like it. Only thing I do is use a simple > script to update a zone without having to refresh a page. > > But I still have this issue, when I put the application in a war file. It > used to work before I added the js code. The app works in Eclipse with > RunJettyRun, but not with Jetty in a .war file. > > > 2015-09-13 17:24:17.619:WARN:oejw.WebAppContext:Failed startup of context > o.e.j.w.WebAppContext{/mgnl,file:/var/cache/jetty8/data/jetty-0.0.0.0-8080-mgnl.war-_mgnl-any-/webapp/},/var/lib/jetty8/webapps/mgnl.war > > javax.servlet.UnavailableException: org.apache.tapestry5.TapestryFilter > at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:114) > at > org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:90) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:768) > at > org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265) > at > org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1270) > at > org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:719) > at > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) > at > org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) > at > org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) > at > org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) > at > org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) > at > org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) > at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) > at > org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) > at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) > at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) > at > org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) > at > org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) > at > org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) > at org.eclipse.jetty.server.Server.doStart(Server.java:282) > at > org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at > org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) > at java.security.AccessController.doPrivileged(Native Method) > at > org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) > at org.eclipse.jetty.start.Main.start(Main.java:615) > at org.eclipse.jetty.start.Main.main(Main.java:96) > > > > > > >> Best regards >> François >> >> 2015-09-13 17:46 GMT+02:00 Christine <myli...@christine.nl>: >> >> On 13-09-15 11:12, françois facon wrote: >>> >>> Hi Christine, >>>> >>>> Did you try to force the use of jQuery whithout prototype in your >>>> beta35 >>>> version ? >>>> >>>> This could be done by adding the following code configuration.add( >>>> SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery"); >>>> in the contributeApplicationDefaults part of your AppModule. >>>> >>>> that worked, thank you. >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> >