Issues with Google Cloud Storage (GCS) client in GAE standard dev environment

106 views
Skip to first unread message

Paul Mazzuca

unread,
Feb 27, 2017, 11:25:32 AM2/27/17
to Google App Engine
After updating to the new appengine-maven-plugin (1.1.0-beta) with groupId com.google.cloud.tools, I am unable to get the GCS client to work in dev mode.  I followed the short documentation @ https://cloud.google.com/appengine/docs/standard/java/googlecloudstorageclient/setting-up-cloud-storage, however have been unsuccessful.  This previously worked in the older appengine-maven-plugin.

The error I receive:

[java.io.IOException: java.lang.NoSuchMethodException: com.google.appengine.tools.development.devappserver2.DevAppServer2Delegate.getService(java.lang.String)]


This is also mentioned on GitHub https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/106.  


Has anyone been able to get gcs to work using the new mvn appengine plugin?


Is it true as the documentation suggests that "there is no local emulation of gcs"?  I thought the previous plugin supported local emulation (though I might not have realized it was reaching out to Internet)


Adam (Cloud Platform Support)

unread,
Feb 27, 2017, 12:39:45 PM2/27/17
to Google App Engine
The current appengine-maven-plugin version is 1.2.0, not 1.1.0-beta1. Do you still experience the same issue on that version?

Paul Mazzuca

unread,
Feb 27, 2017, 12:57:23 PM2/27/17
to google-a...@googlegroups.com
Yes. 

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/-nUPSAL41Bs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/73a1c103-24b1-42ea-a9b4-2c2da23055f9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Les Vogel

unread,
Feb 27, 2017, 2:59:28 PM2/27/17
to google-a...@googlegroups.com
Hi Paul,

Quickly looking at the Github Repository for the plugin suggests that it hasn't yet been updated to work with the Cloud SDK plugin.  I would suggest you continue to use the Java SDK plugin for now.

Regards,

Les

On Mon, Feb 27, 2017 at 9:57 AM, Paul Mazzuca <paul.j....@gmail.com> wrote:
Yes. 

--
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 google-appengine+unsubscribe@googlegroups.com.

To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.

For more options, visit https://groups.google.com/d/optout.



--

  •  
Les Vogel
  •  Cloud Developer Relations
  •  le...@google.com
  •  +1-408-676-7023 

Paul Mazzuca

unread,
Feb 27, 2017, 3:10:50 PM2/27/17
to google-a...@googlegroups.com
That's unfortunate. Will it ever be supported, and if so when?

Les Vogel

unread,
Feb 27, 2017, 3:22:33 PM2/27/17
to google-a...@googlegroups.com
I've written several issues about this today and started several email threads, I'll get back to you when I know more.

On Mon, Feb 27, 2017 at 12:10 PM, Paul Mazzuca <paul.j....@gmail.com> wrote:
That's unfortunate. Will it ever be supported, and if so when?

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages