Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy to app engine after integrating the JetBrains google-app-engine-plugin #786

Closed
aslo opened this issue Jul 14, 2016 · 7 comments

Comments

@aslo
Copy link
Contributor

aslo commented Jul 14, 2016

While testing the merge branch, I am unable to successfully deploy a web application to App Engine.

After generating an App Engine project using the project generator, I created a run configuration to of type "App Engine (BETA) Deployment":

screen shot 2016-07-14 at 11 36 50 am

When running the configuration, I'm seeing this output:

Deploying 'app-engine-random-service:war exploded'...
Created temporary staging directory: /private/var/folders/wz/93kfcdld3lg_nynvc_5t6d2400bzl9/T/gae-staging-reference-unity-1372154
Error: Could not find or load main class com.google.appengine.tools.admin.AppCfg
Failed to deploy 'app-engine-random-service:war exploded': Deployment failed due to an unexpected error while staging the project.
@etanshaul
Copy link
Contributor

etanshaul commented Jul 14, 2016

Run gcloud components list and make sure that 'gcloud app Java extensions' is installed. If not run: gcloud components install app-engine-java

For some background: for standard staging appcfg is still required and it is now bundled in with gcloud. This is bundling is available via the app-engine-java component.

@aslo
Copy link
Contributor Author

aslo commented Jul 14, 2016

That did it 😄

Might we want to provide a more descriptive error message for this situation in the future?

@etanshaul
Copy link
Contributor

Yes that would be nice, but we currently just pipe the output from gcloud. So short of parsing it we have no good way to determine what the error actually is at the moment.

@aslo
Copy link
Contributor Author

aslo commented Jul 14, 2016

Makes sense. I'll close this issue and perhaps we can follow up on that later on.

@aslo aslo closed this as completed Jul 14, 2016
@etanshaul
Copy link
Contributor

Thanks

@etanshaul
Copy link
Contributor

@patflynn
Copy link
Contributor

when configuring the App Engine 'Gcloud' could we check installed
components and ask the user for permission to install the java component if
it's missing?

On Thu, Jul 14, 2016 at 12:25 PM, Etan Shaul [email protected]
wrote:

see GoogleCloudPlatform/appengine-plugins#165
GoogleCloudPlatform/appengine-plugins#165


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#786 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AHf5HSktxaD90GIDJBpu2j8q0De3i-4wks5qVmLhgaJpZM4JMknO
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants