启用MySQL Connector / J GAE / Maven

时间:2013-09-06 15:06:20

标签: mysql google-app-engine google-cloud-sql

我尝试按照此处的文档:

https://developers.google.com/appengine/docs/java/cloud-sql/?csw=1#using_the_java_development_server

但是当我添加标签时:

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  ...
  <use-google-connector-j>true</use-google-connector-j>
</appengine-web-app>

我得到了例外:

  

[INFO]严重:收到异常处理   C:\ Users \用户杰罗姆\ GIT中\ vidaao_app_engine \ Vidaao \目标\ vidaao-1.0-快照\ WEB-INF /应用服务引擎-web.xml中   [INFO] com.google.apphosting.utils.config.AppEngineConfigException:   无法识别的元素[INFO] at   com.google.apphosting.utils.config.AppEngineWebXmlProcessor.processSecondLevelNode(AppEngineWebXmlProcessor.java:161)   [INFO] at   com.google.apphosting.utils.config.AppEngineWebXmlProcessor.processXml(AppEngineWebXmlProcessor.java:61)   [INFO] at   com.google.apphosting.utils.config.AppEngineWebXmlReader.processXml(AppEngineWebXmlReader.java:119)   [INFO] at   com.google.apphosting.utils.config.AppEngineWebXmlReader.readAppEngineWebXml(AppEngineWebXmlReader.java:70)   [INFO] at   com.google.apphosting.utils.config.EarHelper.readWebModule(EarHelper.java:130)   [INFO] at   com.google.appengine.tools.development.AbstractContainerService.loadAppEngineWebXml(AbstractContainerService.java:334)   [INFO] at   com.google.appengine.tools.development.JettyContainerService.initContext(JettyContainerService.java:160)   [INFO] at   com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:227)   [INFO] at   com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:157)   [INFO] at   com.google.appengine.tools.development.DevAppServerMain $ StartAction.apply(DevAppServerMain.java:333)   [INFO] at   com.google.appengine.tools.util.Parser $ ParseResult.applyArgs(Parser.java:48)   [INFO] at   com.google.appengine.tools.development.DevAppServerMain。(DevAppServerMain.java:269)   [INFO] at   com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:245)

0 个答案:

没有答案