And if you switch to use Maven, this is what you 
need:  https://central.sonatype.com/artifact/org.gwtproject/gwt-servlet-jakarta

On Wednesday, 17 December 2025 at 2:11:41 am UTC+11 Colin Alworth wrote:

> Note that the one extra step to use the 
> "...rpc.jakarta.RemoteServiceServlet" class is to replace your gwt-servlet 
> artifact with the gwt-servlet-jakarta one. You'll naturally need to update 
> your ant/eclipse configuration to point to these jars, first included in 
> GWT 2.11.0 
> https://www.gwtproject.org/release-notes.html#Release_Notes_2_11_0
>
> On Tuesday, December 16, 2025 at 9:08:46 AM UTC-6 [email protected] 
> wrote:
>
>> hi Pankaj
>>
>> My project is currently using GWT 2.12.1
>>
>> I create a servelet thus:: 
>>
>> import com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet;
>>
>> Everything *just works*
>>
>> I'll take this opportunity to say what a fantastic job has been done over 
>> the years with GWT. My project was created early this century. I had my 
>> nose in an already out of date  GWT book (hard copy) and from that used 
>> some methods that were already deprecated. Nothing much has been altered 
>> over 20 odd years apart from upgrades to the GWT version. I cannot remember 
>> much hassle - fantastic job by the devs :-) I wish other projects would 
>> follow such a smooth path.
>>
>> On Tuesday, 16 December 2025 at 11:00:38 UTC Pankaj Kumar wrote:
>>
>>> Dear GWT Community,
>>>
>>> We are currently upgrading our application to the latest *GWT version* 
>>> using an *Eclipse plugin–based, Ant-managed project*.
>>>
>>> After creating a sample GWT project and deploying it on *Payara Server 
>>> 6*, we encounter deployment errors related to the *Servlet API 
>>> (javax.servlet)*.
>>>
>>> After analysis, we observed that:
>>>
>>>    - 
>>>    
>>>    The latest GWT version still depends on *javax.servlet*
>>>    - 
>>>    
>>>    However, *Payara 6* and newer Java/Jakarta EE versions require 
>>>    *jakarta.servlet*
>>>    
>>> Due to this mismatch, the application fails during deployment on Payara 
>>> 6.
>>>
>>> Could you please guide us .
>>>
>>> Best Regards,
>>> *Pankaj Kumar*
>>> Java Developer
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/google-web-toolkit/00894826-62f0-4072-8c88-7b9827d2ac29n%40googlegroups.com.

Reply via email to