I am not sure if it is the same issue but when I switched to Java 11 I had the following:"Server class 'javax.sql.DataSource' could not be found in the web app, but was found on the system classpath
[ERROR] Found resouce but unrecognized URL format: 'jrt:/java.sql/javax/sql/DataSource.class'"In according to https://github.com/gwtproject/gwt/issues/9582 there is an issue with JettyLauncher. And it is recommended to use "CodeServer and a separate servlet container." Here is a discussion on Jetty in GWT: https://groups.google.com/g/google-web-toolkit-contributors/c/iU9hckIab2o?pli=1.
It means that one needs to run the application under Tomcat (a separate servlet container) instead of the embedded Jetty.
On Thursday, June 30, 2022 at 7:48:35 AM UTC-4 m.conr...@gmail.com wrote:I didn't think that java.sql.DataSource is emulated by GWT. Looks like you are pulling in server side only type stuff from somewhere?On Thu, Jun 30, 2022 at 3:30 AM Thomas Broyer <t.br...@gmail.com> wrote:Didn't legacy devmode also only work with JDK 8?On Wednesday, June 29, 2022 at 10:46:30 PM UTC+2 Jens wrote:Without being able to see the project setup this is tough to answer.However regardless of the exception you are seeing: Classic/Legacy DevMode will not work with GWT 2.9.0 correctly, because GWT 2.9.0 already uses JsInterop internally in its Java SDK emulation (e.g. java.util.Date uses it). JsInterop is not supported by classic/legacy DevMode. With GWT 2.9.0 you have to use SuperDevMode to have a functional Java SDK emulation during development.-- J.abhiy...@gmail.com schrieb am Mittwoch, 29. Juni 2022 um 21:58:40 UTC+2:Hi Team,
I am trying to start classic DEV mode in eclipse through GWT eclipse plugin .
I am using GWT 2.9.0 + Java 11 combination.
I am getting below error. Can you help me in resolving the below error:
[b]Caused by: java.lang.ClassNotFoundException: javax.sql.DataSource
at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:478) ~[gwt-dev-2.9.0.jar:?]
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)--
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 google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/6d3569b5-b7f0-4c2e-918c-c342b6803441n%40googlegroups.com.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/8905067b-8bae-466f-8754-441beb2c4263n%40googlegroups.com.