I didn't have the java sdk installed, but the code I pulled from git used the gcloud mvn plugin. An error that the java sdk isn't installed would have been better than this stacktrace since /Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java didn't exist.
Here's the trackback
[INFO] Traceback (most recent call last):
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 84, in <module>
[INFO] _run_file(__file__, globals())
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 80, in _run_file
[INFO] execfile(_PATHS.script_file(script_name), globals_)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 1040, in <module>
[INFO] main()
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 1033, in main
[INFO] dev_server.start(options)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/devappserver2.py", line 824, in start
[INFO] self._dispatcher.start(options.api_host, apis.port, request_data)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 193, in start
[INFO] _module, port = self._create_module(module_configuration, port)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/dispatcher.py", line 278, in _create_module
[INFO] threadsafe_override=threadsafe_override)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py", line 1517, in __init__
[INFO] super(ManualScalingModule, self).__init__(**kwargs)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py", line 538, in __init__
[INFO] self._module_configuration)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py", line 235, in _create_instance_factory
[INFO] module_configuration=module_configuration)
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/java_runtime.py", line 73, in __init__
[INFO] self._java_command = self._make_java_command()
[INFO] File "/Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/java_runtime.py", line 94, in _make_java_command
[INFO] assert os.path.isdir(java_lib_dir), java_lib_dir
[INFO] AssertionError: /Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java/lib
Exception in thread "standard-out-redirection-devappserver" [ERROR] Error: gcloud app command with exit code : 1
[ERROR]
java.lang.RuntimeException: The Java Dev Server has stopped.
at com.google.appengine.gcloudapp.AbstractGcloudMojo$1.run(AbstractGcloudMojo.java:346)org.apache.maven.plugin.MojoExecutionException: Error: gcloud app command exit code is: 1
at com.google.appengine.gcloudapp.AbstractGcloudMojo.startCommand(AbstractGcloudMojo.java:380)
at com.google.appengine.gcloudapp.GCloudAppRun.execute(GCloudAppRun.java:302)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.908 s
[INFO] Finished at: 2016-05-23T16:09:59-07:00
[INFO] Final Memory: 15M/126M
[INFO] ------------------------------------------------------------------------
I didn't have the java sdk installed, but the code I pulled from git used the gcloud mvn plugin. An error that the java sdk isn't installed would have been better than this stacktrace since /Users/rob/google-cloud-sdk/platform/google_appengine/google/appengine/tools/java didn't exist.
Here's the trackback