I take back what I said.

It seems there are classpath resolution issues when using a custom 
"JettyLauncher" while running under "GWT Eclipse Plugin", probably due to 
different classloaders assignment.

I am afraid the time has finally come to abandon use of DevMode and the 
"GWt Eclipse Plugin", until this is fixed in later versions of GWT.

I hope a future version of GWT will make use of a Jetty version supporting 
a more elegant way to override the "allowedFromSystemClassLoader" variable.

On Monday, 19 December 2022 at 15:46:31 UTC [email protected] wrote:

> Overriding JettyLauncher with  "javax.sql." on the 
> "allowedFromSystemClassLoader" variable has worked for me on a variety of 
> projects, using SuperDevMode + GWT 2.9.0 + JDK 11
>
> I hope a future version of GWT will make use of a Jetty version supporting 
> a more elegant way to override the "allowedFromSystemClassLoader" variable.
>
> On Friday, 1 July 2022 at 20:32:18 UTC+1 [email protected] wrote:
>
>> Hello all
>>
>> I use legacy dev mode with a old FF17 with succes on GWT 2.10 / jdk 11. I 
>> had to overide JettyLauncher class to add "javax.sql." on the 
>> "allowedFromSystemClassLoader" variable
>> Until now, I have no issue with this mode except this.
>>
>> Le jeu. 30 juin 2022 à 09:30, Thomas Broyer <[email protected]> a écrit :
>>
>>> 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.
>>>>
>>>> [email protected] 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 [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit/6d3569b5-b7f0-4c2e-918c-c342b6803441n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-web-toolkit/6d3569b5-b7f0-4c2e-918c-c342b6803441n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/8f0d65cc-b082-4803-8072-459644d06126n%40googlegroups.com.

Reply via email to