Investigating,
Thanks for the detailled info,
Ludo

On 5/11/16 8:14 AM, Paul Mazzuca wrote:
I think this is a bug in GAE. I also think that it can affect deployed instances since GAE uses the latest version in production. I would be interested in knowing if there is a workaround or if we have to wait for the next version?

On Tuesday, May 10, 2016 at 9:24:50 PM UTC-7, Shian Wu wrote:


    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
    |

    
packagecom.google.appengine.repackaged.com.google.api.client.util;publicclassStringUtils{publicstaticfinalStringLINE_SEPARATOR
    
=System.getProperty("line.separator");publicstaticbyte[]getBytesUtf8(Stringstring){returncom.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);}publicstaticStringnewStringUtf8(byte[]bytes){returncom.google.appengine.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);}privateStringUtils(){}}

    |
    In 1.9.37
    |

    
packagecom.google.appengine.repackaged.com.google.api.client.util;publicclassStringUtils{publicstaticfinalStringLINE_SEPARATOR
    
=System.getProperty("line.separator");publicstaticbyte[]getBytesUtf8(Stringstring){returncom.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.getBytesUtf8(string);}publicstaticStringnewStringUtf8(byte[]bytes){returncom.google.appengine.repackaged.com.google.api.client.repackaged.org.apache.commons.codec.binary.StringUtils.newStringUtf8(bytes);}privateStringUtils(){}}

    |
    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
        
<http://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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[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/5182da26-f473-49d8-a0bc-74042c8bf591%40googlegroups.com <https://groups.google.com/d/msgid/google-appengine/5182da26-f473-49d8-a0bc-74042c8bf591%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout.

--
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/57334EB1.8080900%40google.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to