Thursday, June 30, 2022

Re: java.lang.ClassNotFoundException: javax.sql.DataSource when using GWT 2.9.0 + Java 11 combination

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.broyer@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-toolkit+unsubscribe@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/CAFHWztwuW-y1LVr6WCdtAjpCdkcNNW%2BUMQDXmZfJ-JidtwTXQg%40mail.gmail.com.

No comments:

Post a Comment