Unable to run the example
sblommers opened this issue · comments
I am somehow unable to build and run the example with version 2.2.0
mvn clean spring-boot:run
I keep getting
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.jadice.gwt.spring.demo.server.TimeServiceImpl' to required type 'jakarta.servlet.Servlet' for property 'servlet'; Cannot convert value of type 'org.jadice.gwt.spring.demo.server.TimeServiceImpl' to required type 'jakarta.servlet.Servlet' for property 'servlet': no matching editors or conversion strategy found
I tried with JDK 17 and JDK 21
I had to change gwt-servlet to gwt-servlet-jakarta and change RemoteServiceServlet as com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet and boom it works on JDK 17 and JDK 21 with GWT 2.11