Monday, March 12, 2018

Re: GWT with App Engine (standard) and maven?



On Monday, March 12, 2018 at 2:10:46 PM UTC+1, dflorey wrote:
I tried to leverage your archetypes to get the gwt part (without appengine) running as a starting point.
What I did:
I created a maven project from the archetype (using the eclipse maven wizard).
I can see a nice multi-module project client/shared/server in my workspace.
As per your suggestion I just typed "mvn package -DskipTests" in the root/parent project.
But I get the same error message as before:

[INFO] --- gwt-maven-plugin:1.0-rc-9:compile (default-compile) @ formeditor-client ---
[WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] formeditor ......................................... SUCCESS [  0.000 s]
[INFO] formeditor-shared .................................. SUCCESS [  0.926 s]
[INFO] formeditor-client .................................. FAILURE [  0.614 s]
[INFO] formeditor-server .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.002 s
[INFO] Finished at: 2018-03-12T14:09:09+01:00
[INFO] Final Memory: 35M/761M

I guess I'm missing a basic step like setting a environment variable to point to my gwt installation or something?

Check that the JAR (~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/gwt-dev-2.8.2.jar) is not corrupt.
Delete ~/.m2/repository/com/google/gwt/gwt-dev/2.8.2/ and re-run a build to download it again.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment