Re: Install GWT plugin for Firefox26

2022-06-29 Thread d is
Hi t.br...,
Thank you very much for the plugin file. I've installed the plugin from the 
file and all works nicely!
The problem is resolved.

On Tuesday, June 28, 2022 at 9:26:14 PM UTC+3 t.br...@gmail.com wrote:

> Well it should be downloadable at 
> https://dl-ssl.google.com/gwt/plugins/firefox/gwt-dev-plugin.xpi (link 
> from the error page that should appear in Firefox; copy/paste to another 
> browser for download, then install it in Firefox)
>
> On Tuesday, June 28, 2022 at 8:17:32 PM UTC+2 Ben Shapiro wrote:
>
>> We have the gwt-dev-plugin-1.26-rc1.xpi plugin here in our office. I am 
>> happy to give you a copy if you want.  Then you can manually install it on 
>> your old version of Firefox.
>>
>> You can reach me at bshapiro @ qvera.com.
>>
>> Thanks.
>>
>> On Friday, June 24, 2022 at 3:29:44 AM UTC-6 dis0...@gmail.com wrote:
>>
>>> I maintain the (old) application with the GWT part. To run the system 
>>> locally (bugs fixing or minor code changes) I need the FF26 - and the GWT 
>>> plugin.
>>> Each time I have to setup my machine for the task, I install the FF26 
>>> and the GWT plugin. No problems in the past. But this year I get the error 
>>> while doing it:
>>>
>>> Secure Connection Failed
>>> An error occurred during a connection to www.gwtproject.org. Cannot 
>>> communicate securely with peer: no common encryption algorithm(s). (Error 
>>> code: ssl_error_no_cypher_overlap) 
>>>
>>> How can I install the GWT plugin on my FF26 browser?
>>>
>>> Thanks!
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8476ca9a-00ff-4564-a966-e940c9e26274n%40googlegroups.com.


Re: Install GWT plugin for Firefox26

2022-06-29 Thread d is
Hi Ben,
Your advice was followed actually.
Thank you!

On Tuesday, June 28, 2022 at 9:17:32 PM UTC+3 Ben Shapiro wrote:

> We have the gwt-dev-plugin-1.26-rc1.xpi plugin here in our office. I am 
> happy to give you a copy if you want.  Then you can manually install it on 
> your old version of Firefox.
>
> You can reach me at bshapiro @ qvera.com.
>
> Thanks.
>
> On Friday, June 24, 2022 at 3:29:44 AM UTC-6 dis0...@gmail.com wrote:
>
>> I maintain the (old) application with the GWT part. To run the system 
>> locally (bugs fixing or minor code changes) I need the FF26 - and the GWT 
>> plugin.
>> Each time I have to setup my machine for the task, I install the FF26 and 
>> the GWT plugin. No problems in the past. But this year I get the error 
>> while doing it:
>>
>> Secure Connection Failed
>> An error occurred during a connection to www.gwtproject.org. Cannot 
>> communicate securely with peer: no common encryption algorithm(s). (Error 
>> code: ssl_error_no_cypher_overlap) 
>>
>> How can I install the GWT plugin on my FF26 browser?
>>
>> Thanks!
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e76c20af-0be1-4e1c-b9ff-525ec661982an%40googlegroups.com.


Re: Using JsInterop to create JS object literals

2022-06-29 Thread Thomas Broyer
Using isNative=true, you're telling GWT that you're only "mapping" in Java 
a *type* that exists in JS. The default naming rule is that the full name 
of that type is the fully qualified name of the Java class, you can change 
the simple name with 'name', and the *prefix* with namespace (which 
defaults to the package name for top-level classes, or the enclosing type's 
JS name for nested classes). So with namespace=GLOBAL but without the 
name="Object", you're saying that you want to basically do a 'new 
$wnd.MyPluginConfig()' in JS, and the browser rightfully complains that 
there's no such MyPluginConfig. Adding name="Object" means you'll do a 'new 
$wnd.Object()' in JS.

Fwiw, I'd rather user fields than getters/setters for such objects. YMMV.

On Wednesday, June 29, 2022 at 8:38:19 AM UTC+2 Nicolas Chamouard wrote:

> Thank you !
> It is a bit mysterious to me, but with *name = "Object"* the constructor 
> works :)
>
>
> Le mercredi 29 juin 2022 à 00:47:32 UTC+2, m.conr...@gmail.com a écrit :
>
>> try adding name = "Object" so that it uses an empty javascript Object as 
>> the wrapped item.
>>
>> I found this via Googling:
>>
>> @JsType(namespace = JsPackage.GLOBAL, isNative = true, name = "Object")
>> public class MyPluginConfig {
>> @JsProperty public void set(String str);
>> @JsProperty public String get();
>> ...
>> }
>>
>> Ref: https://stackoverflow.com/a/36329387/12407701
>>
>>
>> On Tue, Jun 28, 2022 at 6:24 PM Nicolas Chamouard <
>> ncham...@alara-group.fr> wrote:
>>
>>> Yes, it does not change anything : 
>>>
>>> @JsType(*isNative*=*true*, *namespace* = JsPackage.*GLOBAL*)
>>>
>>> *public* *class* OptionOverrides {
>>>
>>>
>>> @JsConstructor
>>>
>>> *public* OptionOverrides() {}
>>>
>>> 
>>>
>>> @JsProperty
>>>
>>> *public* *native* String getInitialView();
>>>
>>> @JsProperty
>>>
>>> *public* *native* *void* setInitialView(String initialView);
>>>
>>> }
>>>
>>>
>>> Still the same error : *$wnd.OptionOverrides is not a constructor*
>>>
>>> Le mardi 28 juin 2022 à 23:27:08 UTC+2, m.conr...@gmail.com a écrit :
>>>
 Have you tried giving the class a constructor?


 On Tue, Jun 28, 2022 at 4:04 PM Nicolas Chamouard <
 ncham...@alara-group.fr> wrote:

> Hello,
>
> I am using JsInterop to integrate FullCalendar to my GWT application.
> As described here https://fullcalendar.io/docs/initialize-globals, I 
> am supposed to create an object literal and pass it to the Calendar() 
> constructor.
>
> I have managed to create this class : 
>
> @JsType(*namespace* = JsPackage.*GLOBAL*)
>
> *public* *class* OptionOverrides {
>
>
> @JsProperty
>
> *public* *native* String getInitialView();
>
> @JsProperty
>
> *public* *native* *void* setInitialView(String initialView);
>
> }
>
> It works but the FullCalendar complains about all the Java Object 
> stuff that is translated to javascript : equals(), hashCode(), etc
>
> I have tried to add* isNative=true* to my class, but in this case i 
> cannot instantiate it in Java (error : $wnd.OptionOverrides is not a 
> constructor)
>
> Is there an other way to do this, am I missing something here ?
>
> Thanks
>
>
>
> -- 
> 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/a03c881a-48d4-4892-9fae-7719bc9a57b8n%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-tool...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit/4d8099ea-3a37-4026-b459-f228e35ca59bn%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/fa165911-5805-4315-843d-14d44f3a1fe2n%40googlegroups.com.


Re: What are legal "user.agent=" values?

2022-06-29 Thread Jens


> But only to now getting stuck with: 
> ...
> [INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhquest-web ---
> [INFO] Compiling module ch.zh.ksta.zhquest.ZHQuestWebDevelopment
> [INFO] [ERROR] Unexpected internal compiler error
> [INFO] java.lang.IllegalArgumentException
> [INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
> [INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
>


Now you have conflicting versions of ASM in your class path. The 
IllegalArgumentException within ASM's ClassVisitor class constructor is 
usually thrown when you have a class file compiled with a newer Java 
version than ASM supports. So I guess you have a relatively old ASM version 
on classpath. GWT itself depends on ASM 9.2 
(see: https://mvnrepository.com/artifact/org.gwtproject/gwt-dev/2.10.0 ). 
ASM 9.2 supports java up to version 18.

-- J.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e71dc5da-fce6-47b4-b47a-c0c86d7b33e9n%40googlegroups.com.


'Throwable.HasJavaThrowable' has invalid name '?'.

2022-06-29 Thread mmo
When compiling one of our GWT-based projects with the new GWT 2.10.0 I get:

...
[INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhstregisterjp-web 
---
[INFO] Compiling module 
ch.zh.ksta.zhstregisterjp.ZHStRegisterJPWebDevelopment
[INFO]Ignored 5 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to DEBUG or WARN to see 
all errors.
[INFO]Ignored 14 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
all errors.
[INFO]Errors in com/google/gwt/emul/java/lang/Throwable.java
[INFO]   [ERROR] Line 344: 'Throwable.HasJavaThrowable' has invalid 
name '?'.

Pardon me?

Any hint or direction what I could do or search for here to get over this?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/907f7257-a4af-457e-9f2b-7516e3995afen%40googlegroups.com.


java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor.

2022-06-29 Thread mmo
The compilation of the other application I am trying to migrate to GWT 
2.10.0 fails this stacktrace:

...
[INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhquest-web ---
[INFO] Compiling module ch.zh.ksta.zhquest.ZHQuestWebDevelopment
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.IllegalArgumentException
[INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
[INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
[INFO]  at 
com.google.gwt.dev.javac.BytecodeSignatureMaker$CompileDependencyVisitor.(BytecodeSignatureMaker.java:59)
[INFO]  at 
com.google.gwt.dev.javac.BytecodeSignatureMaker.visitCompileDependenciesInBytecode(BytecodeSignatureMaker.java:227)
[INFO]  at 
com.google.gwt.dev.javac.BytecodeSignatureMaker.getCompileDependencySignature(BytecodeSignatureMaker.java:209)
[INFO]  at 
com.google.gwt.dev.javac.CompiledClass.getSignatureHash(CompiledClass.java:166)
[INFO]  at 
com.google.gwt.dev.javac.Dependencies$Ref.(Dependencies.java:41)
[INFO]  at 
com.google.gwt.dev.javac.Dependencies$Ref.(Dependencies.java:36)
[INFO]  at 
com.google.gwt.dev.javac.Dependencies.resolve(Dependencies.java:100)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:349)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:532)
[INFO]  at 
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:464)
[INFO]  at 
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:210)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
[INFO]  at 
com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO]  at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:113)


Any hint on this would also be highly appreciated.

Michael

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/780e7838-4e01-4716-930d-9503c3d3ef23n%40googlegroups.com.


Re: java.lang.IllegalArgumentException at org.objectweb.asm.ClassVisitor.

2022-06-29 Thread mmo
As an experiment I removed an old exclusion of com.google.gwt:gwt-dev that 
some job-ancestor of mine had specified (see the commented part in my 
pom.xml snippet below):

...


com.gwtplatform
gwtp-mvp-client
1.6


...

 and now I don't get the mentioned compiler error anymore but instead I end 
in the same odd
 'Throwable.HasJavaThrowable' has invalid name '?'
exception that I describe in my other thread. So, both, project migrations 
are now stuck in the same issue ... 

:-( 

On Wednesday, June 29, 2022 at 7:16:10 PM UTC+2 mmo wrote:

> The compilation of the other application I am trying to migrate to GWT 
> 2.10.0 fails this stacktrace:
>
> ...
> [INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhquest-web ---
> [INFO] Compiling module ch.zh.ksta.zhquest.ZHQuestWebDevelopment
> [INFO] [ERROR] Unexpected internal compiler error
> [INFO] java.lang.IllegalArgumentException
> [INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
> [INFO]  at org.objectweb.asm.ClassVisitor.(Unknown Source)
> [INFO]  at 
> com.google.gwt.dev.javac.BytecodeSignatureMaker$CompileDependencyVisitor.(BytecodeSignatureMaker.java:59)
> [INFO]  at 
> com.google.gwt.dev.javac.BytecodeSignatureMaker.visitCompileDependenciesInBytecode(BytecodeSignatureMaker.java:227)
> [INFO]  at 
> com.google.gwt.dev.javac.BytecodeSignatureMaker.getCompileDependencySignature(BytecodeSignatureMaker.java:209)
> [INFO]  at 
> com.google.gwt.dev.javac.CompiledClass.getSignatureHash(CompiledClass.java:166)
> [INFO]  at 
> com.google.gwt.dev.javac.Dependencies$Ref.(Dependencies.java:41)
> [INFO]  at 
> com.google.gwt.dev.javac.Dependencies$Ref.(Dependencies.java:36)
> [INFO]  at 
> com.google.gwt.dev.javac.Dependencies.resolve(Dependencies.java:100)
> [INFO]  at 
> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:349)
> [INFO]  at 
> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:532)
> [INFO]  at 
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:464)
> [INFO]  at 
> com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
> [INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:210)
> [INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
> [INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
> [INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
> [INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
> [INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
> [INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
> [INFO]  at 
> com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
> [INFO]  at 
> com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
> [INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:113)
>
>
> Any hint on this would also be highly appreciated.
>
> Michael
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/69257efa-3ca8-4f91-90be-adf598100193n%40googlegroups.com.


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

2022-06-29 Thread Abhishek Yadav
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/61b8042a-b926-4310-be87-f841f2cb098bn%40googlegroups.com.


Re: 'Throwable.HasJavaThrowable' has invalid name '?'.

2022-06-29 Thread Michael Conrad

I see the following in your stack trace.

It would probably help to track the issue down if you set the GWT 
compile to strict.


On 6/29/22 13:10, mmo wrote:

Ignored 5 units with compilation errors in first pass.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5c422a07-ac4e-989c-15a8-735c028cdd1a%40newsrx.com.


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

2022-06-29 Thread Jens
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/d3be9c50-7af5-460a-a9ec-da38e6c2452bn%40googlegroups.com.


Re: 'Throwable.HasJavaThrowable' has invalid name '?'.

2022-06-29 Thread Jens
Yeah as Michael already said, I strongly encourage you to use "-strict" GWT 
compiler / DevMode parameter in all of your GWT projects and fix all GWT 
compile errors you are then seeing. We should have make that parameter the 
default setting long time ago. I really don't see any benefit of not using 
it.

The error you are seeing indicates that you have an old GWT 2.8.0 on your 
class path which is used for compilation. GWT 2.8.0 does not know anything 
about "*" or "?" as native JsInterop type names and thus disallows them. 
Both names have been implemented in GWT 2.8.1+ and have a special meaning. 

See: 
https://github.com/gwtproject/gwt/commit/d458a94f2810ab8e340b76bcf17fbbe0a72b188f

So use -strict to see GWT compilation errors that need to be fixed and 
check your classpath so that you really only have one GWT SDK version.

-- J.

mmo schrieb am Mittwoch, 29. Juni 2022 um 19:10:09 UTC+2:

> When compiling one of our GWT-based projects with the new GWT 2.10.0 I get:
>
> ...
> [INFO] --- gwt-maven-plugin:2.10.0:compile (default) @ zhstregisterjp-web 
> ---
> [INFO] Compiling module 
> ch.zh.ksta.zhstregisterjp.ZHStRegisterJPWebDevelopment
> [INFO]Ignored 5 units with compilation errors in first pass.
> [INFO] Compile with -strict or with -logLevel set to DEBUG or WARN to see 
> all errors.
> [INFO]Ignored 14 units with compilation errors in first pass.
> [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
> all errors.
> [INFO]Errors in com/google/gwt/emul/java/lang/Throwable.java
> [INFO]   [ERROR] Line 344: 'Throwable.HasJavaThrowable' has invalid 
> name '?'.
>
> Pardon me?
>
> Any hint or direction what I could do or search for here to get over this?
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e565539a-8bd1-432b-8619-f7657404a1efn%40googlegroups.com.


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

2022-06-29 Thread Abhishek Yadav
Thanks Jens for your quick help. I appreciate it.

On Thursday, June 30, 2022 at 2:16:30 AM UTC+5:30 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/71767855-e935-4aa2-be51-2caee7cdd724n%40googlegroups.com.