Re: GWT tutorial does not compile

2021-05-13 Thread likejudo
ses: one for GWT client and one for the >server > > *Deployment time / production time:* > >- You only have one file: war (Webapp) or jar (Spring Boot), because >the result of GWT is JavaScript and you copy it into the server part >(Webapp) >- You o

Re: GWT tutorial does not compile

2021-05-13 Thread likejudo
r.java:135 (anonymous) @ Timer.java:139 xI_g$ @ Impl.java:309 AI_g$ @ Impl.java:368 (anonymous) @ Impl.java:78 On Thursday, May 13, 2021 at 3:07:36 PM UTC-5 likejudo wrote: > I added the code to get data from the server using Asynchronous Callbacks > (and log the error) and am surprised to fin

Re: GWT tutorial does not compile

2021-05-13 Thread likejudo
I have pushed my code to github https://github.com/1dropaflame/StockWatcher On Thursday, May 13, 2021 at 5:43:52 PM UTC-5 likejudo wrote: > I changed > > package stockwatcher.client; > > import com.google.gwt.user.client.rpc.RemoteSe

Re: GWT tutorial does not compile

2021-05-18 Thread likejudo
; in the pom.xml > > > com.google.elemental2 > elemental2-core > 1.1.0 > > > Then run mvn clean package > > You can do the same with IntelliJ or VSC. > > likejudo schrieb am Di., 18. Mai 2021, 01:02: > >> Dr Lofi, >> What archetype did you use?

Re: GWT tutorial does not compile

2021-05-18 Thread likejudo
ake... "Version" is wrong --> "version"... here you are > > > com.google.elemental2 > elemental2-core > 1.1.0 > > > Am Di., 18. Mai 2021 um 13:38 Uhr schrieb likejudo : > >> IntelliJ. >> Unfortunately, it gives an e

Re: GWT tutorial does not compile

2021-05-18 Thread likejudo
I see there are only RCs, not Releases https://search.maven.org/artifact/org.dominokit/domino-rest-jvm/1.0.0-RC3/jar On Tuesday, May 18, 2021 at 8:57:09 AM UTC-5 likejudo wrote: > thanks :) It found elemental2 but gave an error on dominokit. I see it is > a RC not a Release. P

Re: GWT tutorial does not compile

2021-05-18 Thread likejudo
Can I do it without REST and only SpringBoot? On Tuesday, May 18, 2021 at 9:00:20 AM UTC-5 likejudo wrote: > I see there are only RCs, not Releases > https://search.maven.org/artifact/org.dominokit/domino-rest-jvm/1.0.0-RC3/jar > > On Tuesday, May 18, 2021 at 8:57:09 AM UTC-5 li

Re: GWT tutorial does not compile

2021-05-07 Thread likejudo
mvn jetty:run -pl *-server -am -Denv=dev > > Or if you'd rather use Tomcat than Jetty, use mvn tomcat7:run instead > of mvn jetty:run. > > Note that the -pl and -am are not strictly necessary, they just tell Maven > not to build the client module when you're dealing with the s

Re: GWT tutorial does not compile

2021-05-07 Thread likejudo
Maven Central is very trustful. A lot of Java > libraries like Tomcat, Jetty and etc. come from Maven Central... > > Hope this helps. > Lofi > likejudo schrieb am Freitag, 7. Mai 2021 um 14:52:05 UTC+2: > >> In the end I have to use the employer repository for my pro

Re: GWT tutorial does not compile

2021-05-07 Thread likejudo
n Central in > their repository... because Maven Central is very trustful. A lot of Java > libraries like Tomcat, Jetty and etc. come from Maven Central... > > Hope this helps. > Lofi > likejudo schrieb am Freitag, 7. Mai 2021 um 14:52:05 UTC+2: > >> In the end I have to use the

Re: GWT tutorial does not compile

2021-05-06 Thread likejudo
:05 AM UTC-5 lofid...@gmail.com wrote: > Great, have fun... and give us your feedback here to see whether GWT fits > your requirements... ;-) > > likejudo schrieb am Montag, 3. Mai 2021 um 18:13:51 UTC+2: > >> Ok, I did not realize the Java file was under sourcemaps. It

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
@TBroyer, @Lofi When I looked in my employer's Nexus repo searching for "gwt-maven-plugin" I found only the Mojo Codehaus plugin. So I assumed that we did not have it. A few days ago, I searched instead for "net.ltgt.gwt.maven" and found it! :) On Monday, May 17, 2021 at 7:09:21 AM UTC-5

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
m wrote: > Yeah, I think your Nexus is connected to Maven Central... So you would > have everything which is already uploaded at Maven Central... > > Other than Maven Central is difficult... > likejudo schrieb am Montag, 17. Mai 2021 um 16:32:00 UTC+2: > >> @TBroyer, @Lofi

Re: GWT tutorial does not compile

2021-05-15 Thread likejudo
GWT >>> RPC / Simple Jetty on the server... >>> >>> lofid...@gmail.com schrieb am Samstag, 15. Mai 2021 um 20:05:25 UTC+2: >>> >>>> Hi likejudo, >>>> >>>> I cloned your repository and changed things to reflect the GWT Maven >

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
ns/9160535/is-it-possible-to-upload-a-file-via-gwt-rpc-servlets > > REST: > https://www.websparrow.org/spring/spring-boot-rest-api-file-upload-save-example > > Hope this helps! > > > > Am Mo., 17. Mai 2021 um 18:58 Uhr schrieb likejudo : > >> Dr Lofi, >>

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
mail.com schrieb am Montag, 17. Mai 2021 um 22:50:44 UTC+2: > >> Can you find following lib? >> >> >> com.google.elemental2 >> elemental2-core >> >> >> Without this one it is not possible - at least it doesn't make sense for >> me -

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
l... > > https://github.com/DominoKit/domino-rest/wiki/Quick-start > > GWT 2.9.0. > > Thanks > likejudo schrieb am Montag, 17. Mai 2021 um 22:00:12 UTC+2: > >> The REST example uses Postman as client, not GWT. >> I need to use Spring Boot for server, and GWT for

Re: GWT tutorial does not compile

2021-05-15 Thread likejudo
/stockwatcher/client/ResponseFromServerPanel.java#L144 On Saturday, May 15, 2021 at 10:51:14 AM UTC-5 likejudo wrote: > Thanks, I joined the GWT discussion at Gitter > > On Sat, May 15, 2021 at 10:17 AM lofid...@gmail.com > wrote: > >> I'll check it out... >> >> lik

Re: GWT tutorial does not compile

2021-05-17 Thread likejudo
Dr Lofi, What archetype did you use? I am not allowed to clone nor copy-paste code into my workspace. Can you please give me the "maven generate" command line you used? On Monday, May 17, 2021 at 4:53:58 PM UTC-5 likejudo wrote: > If I understand correctly, > I will t

Re: GWT tutorial does not compile

2021-05-15 Thread likejudo
Is it better to just stick with the Nalu archetype since it has Spring Boot? I generated it and thinking of moving the stockwatcher code into it. On Saturday, May 15, 2021 at 3:13:27 PM UTC-5 lofid...@gmail.com wrote: > OK, wait... > > likejudo schrieb am Samstag, 15. Mai 2021 um 21:34

Re: GWT tutorial does not compile

2021-05-20 Thread likejudo
; Did you manage to upload file using GWT RPC? > > likejudo schrieb am Mittwoch, 19. Mai 2021 um 17:05:21 UTC+2: > >> Looking at the generated code in Nalukit, doPost has been overridden as >> final in RemoteServlet. This method will not work. >> >> public abstract

Re: GWT tutorial does not compile

2021-05-06 Thread likejudo
e server part completely independent of GWT like I showed >above >- Build the communication between them with the alternatives above >- ... and always remember: the result of GWT transpiler is JavaScript, >so you could always take the JavaScript with its resources and "

how to migrate from Codehaus Mojo maven gwt plugin to TBroyer maven gwt plugin?

2021-05-20 Thread likejudo
How to migrate from Codehaus Mojo maven gwt plugin to TBroyer maven gwt plugin? I am trying to refactor a GWT project. It has GXT widgets and I need to replace them with GWT widgets. However the Mojo plugin is bewildering in its options. Looking at the pom.xml, I find 1) packaging is set to war.

Re: GWT tutorial does not compile

2021-05-19 Thread likejudo
2021 at 2:30:08 AM UTC-5 lofid...@gmail.com wrote: > Yes, you can use GWT RPC instead of REST: > https://stackoverflow.com/questions/9160535/is-it-possible-to-upload-a-file-via-gwt-rpc-servlets > > Or just google "gwt rpc upload file" > > likejudo schrieb am Di

Re: GWT tutorial does not compile

2021-05-19 Thread likejudo
The only call that matches in class RemoteServiceServlet is: public final void processPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, SerializationException { On Wednesday, May 19, 2021 at 8:55:03 AM UTC-5 likejudo wrote: > The link

Re: GWT tutorial does not compile

2021-05-19 Thread likejudo
the method is final. cannot override. ` @Override public final void processPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, SerializationException {` On Wednesday, May 19, 2021 at 9:22:56 AM UTC-5 likejudo wrote: > The only call that matc

Re: GWT tutorial does not compile

2021-05-19 Thread likejudo
160535/is-it-possible-to-upload-a-file-via-gwt-rpc-servlets > > Or just google "gwt rpc upload file" > > likejudo schrieb am Dienstag, 18. Mai 2021 um 16:53:43 UTC+2: > >> Can I do it without REST and only SpringBoot? >> >> On Tuesday, May 18, 2021

GWT tutorial does not compile

2021-04-29 Thread likejudo
I am learning GWT and was trying to run this tutorial http://www.gwtproject.org/doc/latest/tutorial/index.html Using the Eclipse GWT plugin 3.0 on Windows 10 and JDK 11 I get this error on the first line Error: There is '1' error in 'gwt-module.dtd'. I installed the plugin from the

Re: GWT tutorial does not compile

2021-04-29 Thread likejudo
ic/blob/main/src/main/module.gwt.xml > > This is the module file for GWT, explanation: > http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html > > Hope this helps > likejudo schrieb am Donnerstag, 29. April 2021 um 22:48:51 UTC+2: > >> Thanks for the

Re: GWT tutorial does not compile

2021-04-30 Thread likejudo
@t.br please see messages above for log https://groups.google.com/g/google-web-toolkit/c/TclImrErWMY/m/Nd9jP4xWDgAJ On Friday, April 30, 2021 at 3:32:46 AM UTC-5 t.br...@gmail.com wrote: > On Thursday, April 29, 2021 at 10:48:51 PM UTC+2 likejudo wrote: > >> Thanks for the links

Re: GWT tutorial does not compile

2021-04-30 Thread likejudo
Mojo GWT Maven plugin packages as war. if I package as war, can I still follow the tutorial? On Friday, April 30, 2021 at 12:17:13 PM UTC-5 likejudo wrote: > I don't have a choice. I have to use what is in my employer's > repository. Mojo GWT Maven plugin 2.90 is in the repo. > &g

Re: GWT tutorial does not compile

2021-04-30 Thread likejudo
but use the old Maven plugin: >> https://github.com/lofidewanto/gwt-old-maven-sample-basic >> >> The Java code is the same but it uses the structure of the old GWT Maven >> plugin... just take a look at the README of the project above. >> >> Hope this helps. &g

Re: GWT tutorial does not compile

2021-05-02 Thread likejudo
33, mixed mode, sharing) >>> >>> My Maven version: mvn -version >>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; >>> 2015-11-10T17:41:47+01:00) >>> Maven home: /Users/lofidewanto/Applications/apache-maven-3.3.9 >>> Java ver

Re: GWT tutorial does not compile

2021-05-02 Thread likejudo
>>> https://github.com/lofidewanto/gwt-old-maven-sample-basic >>> >>> The Java code is the same but it uses the structure of the old GWT Maven >>> plugin... just take a look at the README of the project above. >>> >>> Hope this helps. >>&g

Re: GWT tutorial does not compile

2021-05-02 Thread likejudo
"build tool" and therefore the "project > structure". You have a much modern style using Maven GWT plugin from > TBroyer... Still you also can use the older Maven GWT Mojo plugin... or > also Ant like in the tutorial above... But this is really old  > > Enjoy! >

Re: GWT tutorial does not compile

2021-05-02 Thread likejudo
gin... or > also Ant like in the tutorial above... But this is really old  > > Enjoy! > likejudo schrieb am Sonntag, 2. Mai 2021 um 21:45:05 UTC+2: > >> Yes! thank you. I moved the plugin to *build*. It works now. >> >> On Sunday, May 2, 2021 at 2:33:08 PM UTC-5 lofid...@

Re: GWT tutorial does not compile

2021-05-03 Thread likejudo
, the tutorial says: "... should see the Java file in the > browser" > I do not see it at all - only JS files. > > > Did you try in Google Chrome like in this description? > https://github.com/lofidewanto/gwt-boot-sample-basic --- *Step 3 - Debug > the App in your B