Another question about the JAVA tutorial: In "Testing the finished sample" in the section 4. Adding Apllication Code and IU, I get the following error:
> F:\[MY PATH]\guestbook>mvn appengine:devserver [INFO] Scanning for projects... [INFO] [INFO] > ------------------------------------------------------------------------ [INFO] Building guestbook 1.0-SNAPSHOT [INFO] > ------------------------------------------------------------------------ [INFO] [INFO] >>> appengine-maven-plugin:1.9.34:devserver (default-cli) > package > @ guestbook >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > guestbook --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory > F:\Roy\Documents_Roy_Nahas\SIG\IHA\Google > Engine\guestbook\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ guestbook > --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to F:\Roy\Documents_Roy_Nahas\SIG\IHA\Google > Engine\guestbook\target\guestbook-1.0-SNAPSHOT\WEB-INF\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are > running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] > ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] > ------------------------------------------------------------------------ [INFO] Total time: 0.876 s [INFO] Finished at: 2016-03-21T14:25:10-04:00 [INFO] Final Memory: 7M/18M [INFO] > ------------------------------------------------------------------------ [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > (default-compile) on project guestbook: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are > running on a JRE rather than a JDK? [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, > please read the following articles: [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException How can I correct this? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8254d301-ebb6-4499-b1c6-209725bf6f2c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
