thank you for your answer @craig Mitchell
if i want to continue hibernate 6 , how to do launch gwt application on 
java 11 ? 
is it possible to continue working like this ? what do you think?
Le vendredi 26 avril 2024 à 02:22:52 UTC+2, Craig Mitchell a écrit :

> It'd be hard to answer that question, as we don't have all the details.  
> As this is a GWT forum, I'd say, migrate GWT to the latest version first.  
> But that might actually be bad advice, just depends on your project.
>
> My gut feel is you'd be best to decouple the front end and back end first.
>
> On Friday 26 April 2024 at 2:32:17 am UTC+10 Wejden Mrabti wrote:
>
>> Hello GWT Users Community,
>>
>> I'm currently working on a large legacy application stack, using Java 8, 
>> Hibernate version 5.3.20.Final, and Hibernate Search 5.11.5.Final. Our 
>> frontend technology stack includes GWT version 2.8.2 and GXT version 
>> 2.3.1a-gwt22. Fontend and backend arent well de-coupled.
>>
>> In my initial approach to modernize the application, I began by migrating 
>> Hibernate to version 6.2, assuming it would be the easiest step. However, I 
>> encountered an issue where Hibernate 6.2 requires transitioning to Jakarta 
>> Persistence. When attempting to compile parts of my codebase, I received 
>> the following error:
>>
>> java.lang.UnsupportedClassVersionError: jakarta/persistence/Transient has 
>> been compiled by a more recent version of the Java Runtime (class file 
>> version 55.0), this version of the Java Runtime only recognizes class file 
>> versions up to 52.0
>>
>> This suggests that I need to execute my code with JDK 11. However, when 
>> attempting to do so, I encountered the following issue:
>>
>> [ERROR] Found resouce but unrecognized URL format: 
>> 'jrt:/java.sql/javax/sql/DataSource.class' java.lang.NoClassDefFoundError: 
>> javax/sql/DataSource
>>
>> After reviewing your discussions in the GWT contributors group, I'm 
>> questioning whether starting with the Hibernate migration is the right 
>> approach. Should I instead prioritize migrating Java or perhaps GWT? I 
>> would greatly appreciate your insights and advice based on your experiences.
>>
>> Thank you,
>>
>> WM
>>
>

-- 
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/5e426237-abc7-4ead-bb46-7963e9891d00n%40googlegroups.com.

Reply via email to