Re: gwt-maven-springboot-archetype updated ...

2024-02-05 Thread 'Frank Hossfeld' via GWT Users
new version is online ... 

Craig Mitchell schrieb am Montag, 5. Februar 2024 um 02:13:45 UTC+1:

> Done:  https://github.com/NaluKit/gwt-maven-springboot-archetype/issues/4  
> Cheers.
>
> On Monday 5 February 2024 at 3:59:55 am UTC+11 Frank Hossfeld wrote:
>
>> 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:

 
   org.springframework.boot
   spring-boot-maven-plugin
   
 
   
 repackage
   
 
   
   
 false
 
   
 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
 
   
 

 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 
>> ma...@craig-mitchell.com 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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/f8264e2d-f557-47b2-bfbc-12a45067a24an%40googlegroups.com.


Re: Had a problem trying GWT 2.11.0

2024-02-05 Thread Thomas Broyer
Just published version 2024.2.5 of the archetypes that adds a DOCTYPE 
linking to the DTD to the context.xml.

I could reproduce the jetty_overlays error in env=prod, but that really 
looks like a bug in the jetty-maven-plugin (and creating the directory 
allows the server to start, but it was still missing the overlay, so no 
*.nocache.js loaded from the HTML host page).

On Sunday, February 4, 2024 at 6:43:59 PM UTC+1 jamal@gmail.com wrote:

> After generating a project skeleton using the latest gwt-maven-archetypes 
> , done the usual:
> - mvn gwt:codeserver -pl *-client -am
> - mvn jetty:run -pl *-server -am -Denv=dev
>
> The first command executed without problems, however the second one failed 
> to start jetty showing on terminal the following error: 
>
> [*ERROR*] *SAX Parse Issue @null line:1 col:59 : 
> org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 59; 
> cvc-elt.1.a: Cannot find the declaration of element 'Configure'.*
> [*INFO*] 
> **
> [*INFO*] 
> *Reactor Summary for gwt-gpt 1.0-SNAPSHOT:*[*INFO*] 
> [*INFO*] gwt-gpt  *SUCCESS* 
> [  5.841 s]
> [*INFO*] gwt-gpt-shared . *SUCCESS* 
> [  1.400 s]
> [*INFO*] gwt-gpt-server . *FAILURE* 
> [  0.703 s]
> [*INFO*] 
> **
> [*INFO*] 
> *BUILD FAILURE*[*INFO*] 
> **
> [*INFO*] Total time:  14.168 s
> [*INFO*] Finished at: 2024-02-04T16:51:35Z
> [*INFO*] 
> **
> After many searches I found that *context.xml* in *jettyconf* folder had 
> missing dtd schema. Adding that as follows jetty started with no error: 
> 
> * "http://www.eclipse.org/jetty/configure.dtd 
> ">*
> 
> 
> org.eclipse.jetty.servlet.Default.useFileMappedBuffer
> false
> 
> 
>
>
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/359d90ba-dbdf-45d4-9bc0-b687d99cf724n%40googlegroups.com.


Re: Had a problem trying GWT 2.11.0

2024-02-05 Thread 'tim_mac...@yahoo.co.uk' via GWT Users
I also found that out eventually.
Another thing: The server module needs /target /jetty_overlays  folder for 
running env-prod.
 

On Sunday, February 4, 2024 at 5:43:59 PM UTC jamal@gmail.com wrote:

> After generating a project skeleton using the latest gwt-maven-archetypes 
> , done the usual:
> - mvn gwt:codeserver -pl *-client -am
> - mvn jetty:run -pl *-server -am -Denv=dev
>
> The first command executed without problems, however the second one failed 
> to start jetty showing on terminal the following error: 
>
> [*ERROR*] *SAX Parse Issue @null line:1 col:59 : 
> org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 59; 
> cvc-elt.1.a: Cannot find the declaration of element 'Configure'.*
> [*INFO*] 
> **
> [*INFO*] 
> *Reactor Summary for gwt-gpt 1.0-SNAPSHOT:*[*INFO*] 
> [*INFO*] gwt-gpt  *SUCCESS* 
> [  5.841 s]
> [*INFO*] gwt-gpt-shared . *SUCCESS* 
> [  1.400 s]
> [*INFO*] gwt-gpt-server . *FAILURE* 
> [  0.703 s]
> [*INFO*] 
> **
> [*INFO*] 
> *BUILD FAILURE*[*INFO*] 
> **
> [*INFO*] Total time:  14.168 s
> [*INFO*] Finished at: 2024-02-04T16:51:35Z
> [*INFO*] 
> **
> After many searches I found that *context.xml* in *jettyconf* folder had 
> missing dtd schema. Adding that as follows jetty started with no error: 
> 
> * "http://www.eclipse.org/jetty/configure.dtd 
> ">*
> 
> 
> org.eclipse.jetty.servlet.Default.useFileMappedBuffer
> false
> 
> 
>
>
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/4b4f11f4-98c7-46cd-95ef-dcaf7c975f5en%40googlegroups.com.