I changed the JDK to Java 8 and everything is working.
The same DB connection code can connect to DB
Eclipse 2020-06
1. NO GWT
Java11 can connect to DB
2. With GWT
Java 11 cannot connection to DB
On Thursday, August 19, 2021 at 8:36:00 AM UTC-5 Yibin Li wrote:
> Jens,
>
> I will try this approach
>
> Almost each UI is working as GWT 2.5. But not DB connection. I deployed
> the code to my test server and use DB datasource on server, everything is
> working. The only obstacle is DB connection.
>
> Thank you for your reply.
>
>
>
>
> On Monday, August 16, 2021 at 5:45:40 AM UTC-5 Jens wrote:
>
>> [WARN] Server class 'org.ietf.jgss.GSSException' could not be found in
>>> the web app, but was found on the system classpath
>>> [ERROR] Found resouce but unrecognized URL format:
>>> 'jrt:/java.security.jgss/org/ietf/jgss/GSSException.class'
>>>
>>
>> JRT urls are available since Java 9 and the embedded Jetty 9.2.x that GWT
>> provides does not understand these kinds of URLs.
>>
>> For complex GWT apps the recommendation is to not use the embedded Jetty
>> provided by GWT. Instead use GWT CodeServer to serve GWT client code during
>> development and your own Jetty server to deploy your server side code to.
>> You need at least Jetty 9.4.7 and not higher than Jetty 10.x because Jetty
>> 11.x uses the new Jakarta EE namespace which GWT server side code does not
>> support.
>>
>> Also see: https://github.com/gwtproject/gwt/issues/9582
>>
>>
--
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/0a1896b9-708a-4f4b-8b06-d85bd6174c0an%40googlegroups.com.