OK - thanks for letting me know! I interpret that such that gwt:run and gwt:debug aren't working/supported anymore, right? Do you test and develop in a Tomcat or what's your preferred setup?
On Thursday, July 21, 2022 at 1:33:53 PM UTC+2 [email protected] wrote: > If you need anything specific, don't use the embedded Jetty. > You have a jetty-web.xml so I assume you need "something specific" → don't > use the embedded Jetty. > > (it might be that this was plain broken in 2.10 when upgrading the Jetty > version, but the last time I had to work on this –that was years ago–, I > declared it was the last time and jetty-web.xml wouldn't be supported in > the future: if it works, you're lucky, if it doesn't, well, we never said > it would so 🤷 ; now other maintainers might have a different opinion and > would be willing to investigate) > > On Wednesday, July 20, 2022 at 9:30:16 PM UTC+2 mmo wrote: > >> After some substantial fiddling and bug chasing I finally managed to >> successfully compile our application using GWT 2.10.0. However, when I >> start this locally using the command line: >> >> mvn -s >> "D:\Projects\KStA_ZH_RegisterJP\code\application\etc\m2\settings_mms.xml" >> "gwt:run" -f >> "D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\pom.xml" >> >> (I am using powershell, that's why I need all those quotes) >> >> ... then the Jetty-startup ends in: >> >> ... >> 00:00:11.918 [WARN] Failed startup of context >> c.g.g.d.s.j.WebAppContextWithReload@aa5455e{/,file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/,UNAVAILABLE}{D:\Projects\KStA_ZH_RegisterJP\code\application\zhstregisterjp-web\target\registerjp} >> java.lang.IllegalArgumentException: Object of class >> 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is >> not of type 'org.eclipse.jetty.webapp.WebAppContext'. >> Object Class and type Class are from different loaders. in >> file:///D:/Projects/KStA_ZH_RegisterJP/code/application/zhstregisterjp-web/target/registerjp/WEB-INF/jetty-web.xml >> >> What am I missing here or what needs to be changed to get this running >> again with v2.10? Could some kind soul give me a nudge in the direction to >> search for? >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6fa9c53e-b80d-49a1-9ff8-1240f9bc69fan%40googlegroups.com.
