Two things:
- using JDK 17 doesn't mean you have to use Jakarta EE 9+, Java EE 8 / Jakarta EE 8 should still work just fine. You may have also changed your server to a Jakarta EE 9+ version, but that's (almost) independent from using JDK 17 - GWTP is long dead; at least one year before the Javax/Jakarta mess <https://blog.ltgt.net/javax-jakarta-mess-and-gradle-solution/> was even announced (except for one never-released commit in Sept. 2018) Legacy projects should stay on "legacy" Java EE (or Jakarta EE 8), or migrate away from legacy/abandoned libs and frameworks that lock them to Java EE. On Friday, July 21, 2023 at 11:52:55 AM UTC+2 NIKITAH wrote: > > Just FYI , I've already tried with gwtp-dispatch-rest-1.6.jar and facing > the same issue " The import javax.ws.rs.core.HttpHeaders cannot be > resolved" . > As , we are aware in jdk17 we are using Jakarta API means HttPheaders is > now moved to jakarta.ws.rs.core.HttpHeaders . > So , wanted to know if there is any gwtp-dispatch-rest jar with JDK 17. > > On Thursday, July 20, 2023 at 3:11:38 PM UTC+5:30 NIKITAH wrote: > >> Hi , >> >> I am trying to compile GWT with JDK17. >> As per https://www.gwtproject.org/release-notes.html#Release_Notes_2_10_0 >> , I came to know that GWT2.10.0 is compatible with JDK17 and hence I >> updated the same in my project . >> >> Now, facing issue with gwtp-dispatch-rest-1.4.jar like : >> [ERROR] Line 24: The import javax.ws.rs.core.HttpHeaders cannot be >> resolved >> [ERROR] Line 95: HttpHeaders cannot be resolved to a variable >> >> Can someone please help and let me know which version of >> gwtp-dispatch-rest-*.jar is compatible with JDK 17 . >> >> Thanks in advance . >> > -- 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/fb2910fb-7cf9-4dc8-b9b9-f6c661f51e9cn%40googlegroups.com.
