You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build runs fine, but when trying to run the GWT Configuration for my project I am getting an error related to Jetty.
Jetty 9.4.54.v20240208 is giving me
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
WebAppContextWithReload is not mentioned anywhere in my project
Jetty 9.3.30.v20211001 is giving me that it requires ASM 7, and I saw in my dependencies I'm running 9+.
Steps to reproduce
Running a GWT application with Jetty and GWT 11 in IntelliJ 2024.1
VM options -Xmx2048m -Xms512m
Known workarounds
Links to further discussions
The text was updated successfully, but these errors were encountered:
dgeiselmanMOO
changed the title
GWT 2.11 and Jetty 9.4.54.v20240208 error running in IntelliJ 2021.1 Ultimate
GWT 2.11 and Jetty 9.4.54.v20240208 error running in IntelliJ 2024.1 Ultimate
Apr 10, 2024
The error says we have an instance of WebAppContextWithReload, provided by GWT SDK, loaded by classloader A but its superclass WebAppContext, provided by GWT SDK AND your jetty dependency, is loaded by classloader B.
Why do you have Jetty in your dependencies with scope runtime?
If you customize jetty then you likely cannot use the embedded Jetty provided by GWT SDK. Using the embedded Jetty as a full fledged application server that you can customize has been deprecated for exactly that reason. You should launch your own Jetty, deploy your server application to it and use GWT SDK to only launch SuperDevMode to compile the app to JS.
GWT version: 2.11
Browser (with version): Chrome
Operating System: Windows 10
Description
Build runs fine, but when trying to run the GWT Configuration for my project I am getting an error related to Jetty.
Jetty 9.4.54.v20240208 is giving me
jetty-web.xml is
WebAppContextWithReload is not mentioned anywhere in my project
Jetty 9.3.30.v20211001 is giving me that it requires ASM 7, and I saw in my dependencies I'm running 9+.
Steps to reproduce
Running a GWT application with Jetty and GWT 11 in IntelliJ 2024.1
VM options -Xmx2048m -Xms512m
Known workarounds
Links to further discussions
The text was updated successfully, but these errors were encountered: