I got same problem when using GAE java 1.9.37.
It is work with GAE java 1.9.34 before.

After compare source of 
com.google.appengine.repackaged.com.google.api.client.util.StringUtils , I 
found it is a little different.

In 1.9.34

package com.google.appengine.repackaged.com.google.api.client.util;

public class StringUtils {
    public static final String LINE_SEPARATOR = 
System.getProperty("line.separator");

    public static byte[] getBytesUtf8(String string) {
        return 
com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);
    }

    public static String newStringUtf8(byte[] bytes) {
        return 
com.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);
    }

    private StringUtils() {
    }
}


In 1.9.37

package com.google.appengine.repackaged.com.google.api.client.util;

public class StringUtils {
    public static final String LINE_SEPARATOR = 
System.getProperty("line.separator");

    public static byte[] getBytesUtf8(String string) {
        return 
com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);
    }

    public static String newStringUtf8(byte[] bytes) {
        return 
com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);
    }

    private StringUtils() {
    }
}


And I can not find 
com.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils
 
in GAE java 1.9.37
I think this is why it can't work.

Is this a bug or something I miss when upgrade to GAE java 1.9.37 ?

On Wednesday, May 11, 2016 at 12:53:09 AM UTC+8, Paul Mazzuca wrote:
>
> When running the following EndPoints example with GAE 1.9.37 as so,
>
> git clone 
> https://github.com/GoogleCloudPlatform/appengine-endpoints-helloworld-java-maven
>
> #change the version in the POM to 1.9.37
>
> mvn appengine:devserver
>
> I receive the following error:
>
> [ERROR] Failed to execute goal 
> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>  
> (default) on project helloworld: Execution default of goal 
> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc
>  
> failed: A required class was missing while executing 
> com.google.appengine:appengine-maven-plugin:1.9.37:endpoints_get_discovery_doc:
>  
> com/google/appengine/repackaged/com/google/api/client/repackaged/org/apache/commons/codec/binary/StringUtils
>
>
> Could an essential EndPoints class have been removed in the latest GAE 
> release, or am I missing something?
>
>
>
>

-- 
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+unsubscr...@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/3d56bc29-8a0e-470e-8089-1b805117b3a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to