Spring GAE / J无法找到API版本错误

时间:2010-05-21 13:51:40

标签: java google-app-engine spring-mvc

我正在尝试在GAE / J上使用Spring MVC 3并且我得到了这个错误,我不知道这意味着什么,有没有人有想法,也许给我指点如何解决这个问题?

May 21, 2010 9:50:23 AM com.google.appengine.tools.info.LocalVersionFactory getVersion
INFO: Could not find API version from /opt/home/me/workspace/SpringMVC/war/WEB-INF/lib/.svn
java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:114)
    at java.util.jar.JarFile.<init>(JarFile.java:133)
    at java.util.jar.JarFile.<init>(JarFile.java:97)
    at com.google.appengine.tools.util.ApiVersionFinder.findApiVersion(ApiVersionFinder.java:37)
    at com.google.appengine.tools.info.LocalVersionFactory.getVersion(LocalVersionFactory.java:65)
    at com.google.appengine.tools.info.UpdateCheck.getLocalVersion(UpdateCheck.java:112)
    at com.google.appengine.tools.info.UpdateCheck.checkForUpdates(UpdateCheck.java:91)
    at com.google.appengine.tools.info.UpdateCheck.doNagScreen(UpdateCheck.java:164)
    at com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(UpdateCheck.java:132)
    at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:150)
    at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
    at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:113)
    at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89)

1 个答案:

答案 0 :(得分:2)

只是猜测:看起来你已经在war文件中打包了隐藏的subversion目录(.svn)。通常不会部署这些目录。也许从war文件中删除它?