Bad request when updating Appengine with mvn appengine:update

后端 未结 5 2153
-上瘾入骨i
-上瘾入骨i 2021-02-06 09:11

i\'m getting the following error, when I try to update a appengine-application with the appengine-maven-plugin:

400 Bad Request
Error when loading application co         


        
5条回答
  •  被撕碎了的回忆
    2021-02-06 09:45

    If you generated the project with the archetype skeleton, like I did, and you have a block similar to

    
        MY-GAE-PROJECT-ID
        1
        1.9.20
        0.9.58.v20150505
        UTF-8
    
    

    in your pom.xml and your appengine-web.xml looked like

    
    
    ${app.id}
    1
    etc....
    

    when it got made, then, modify appengine-web.xml to be ${app.version} because they so helpfully already added that property with the archetype but never used it anywhere. Then, update your pom.xml's app.version to be your appropriate version (if you don't use "1"). Then, scroll down in the pom.xml to where you see

                com.google.appengine
                appengine-maven-plugin
                ${appengine.version}
                
                    false
    

    and inside the configuration block there add

                    ${app.version}
    

提交回复
热议问题