Please can you open an issue regarding the gwt-servlet-jakarta problem ...

Thanks

Craig Mitchell schrieb am Sonntag, 4. Februar 2024 um 04:57:34 UTC+1:

> I noticed that it always logs the error:
>
> ERROR: The serialization policy file '/mywebapp/xxx.gwt.rpc' was not 
> found; did you forget to include it in this deployment?
>
> on the first RPC call.  The RPC still seems to work fine, but wondering if 
> this is an issue or not?
>
> Also, should this be "gwt-servlet-jakarta", not "gwt-servlet"?  
> https://github.com/NaluKit/gwt-maven-springboot-archetype/blob/main/modular-springboot-webapp/src/test/resources/projects/basic-webapp/reference/basic-webapp-shared/pom.xml#L16
>  
>
> Thanks.
>
> On Saturday 3 February 2024 at 11:10:34 am UTC+11 Craig Mitchell wrote:
>
>> Just realised you can also set it in your server pom.xml, in the Spring 
>> Boot Maven plugin (configuration > jvmArguments), instead of the launcher:
>>
>> <plugin>
>>   <groupId>org.springframework.boot</groupId>
>>   <artifactId>spring-boot-maven-plugin</artifactId>
>>   <executions>
>>     <execution>
>>       <goals>
>>         <goal>repackage</goal>
>>       </goals>
>>     </execution>
>>   </executions>
>>   <configuration>
>>     <skip>false</skip>
>>     <jvmArguments>
>>       -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
>>     </jvmArguments>
>>   </configuration>
>> </plugin>
>>
>> On Friday 2 February 2024 at 9:54:46 am UTC+11 Craig Mitchell wrote:
>>
>>> Thanks Thomas.  Now switched to:
>>>
>>>
>>> -Dspring-boot.run.jvmArguments=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
>>>
>>> [image: Screen.png]
>>>
>>> Which also works great.  🙂
>>>
>>> On Thursday 1 February 2024 at 7:44:19 pm UTC+11 Thomas Broyer wrote:
>>>
>>>> You may want to use -agentlib:jdwp (as given by IntelliJ IDEA) rather 
>>>> than the legacy -Xdebug -Xrunjdwp (and then you no longer need the 
>>>> quotes 😉)
>>>>
>>>> And when I say legacy, I really mean it: already in Java 8 -Xdebug does 
>>>> nothing (
>>>> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABHDABI)
>>>>  
>>>> and Xrunjdwp is superceded by agentlib (
>>>> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#BABDCEGG
>>>> )
>>>>
>>>> On Wednesday, January 31, 2024 at 10:49:41 PM UTC+1 
>>>> [email protected] wrote:
>>>>
>>>>> Thank you!  Working great now (quotes were important).  👍
>>>>>
>>>>> [image: Screen.png]
>>>>>
>>>>> On Thursday 1 February 2024 at 6:38:47 am UTC+11 Frank Hossfeld wrote:
>>>>>
>>>>>> Mmmh, it might be worth adding this information to the archetype docs.
>>>>>>
>>>>>>

-- 
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/01839f4b-fe49-4533-bd82-43608e3dc323n%40googlegroups.com.

Reply via email to