【问题标题】:META-INF directory and jdoconfig.xml missing in the project created by eclipseeclipse创建的项目中缺少META-INF目录和jdoconfig.xml
【发布时间】:2012-06-19 15:29:39
【问题描述】:

我正在学习在 Eclipse 中将 GWT 与 App Engine 结合使用。我在构建路径中包含了 App-Engine SDK。我正在阅读这里给出的教程。 https://developers.google.com/web-toolkit/doc/latest/tutorial/appengine 它说要在 META-INF 目录中创建一个文件 jdoconfig.xml,但我在我的项目结构中找不到 META-INF 目录。

【问题讨论】:

  • 什么版本的 Eclipse?什么版本的 Google 插件?

标签: eclipse google-app-engine gwt


【解决方案1】:

来自教程create a file StockWatcher/src/META-INF/jdoconfig.xml。 你应该在src下创建META-INF目录

【讨论】:

  • 我已经勾选了,使用 Datanucleus JDO/JPA 访问数据存储,在创建项目时为什么 eclipse 不为我创建 META-INF/jdoconfig.xml 呢?是否总是手动完成?
  • JDO 和 JPA 是不同的 API,需要不同的配置文件(JDO 为 jdoconfig.xml,JPA 为 peristence.xml)。 Eclipse 不知道您想要哪个文件,因此不知道要创建哪个文件。
猜你喜欢
  • 1970-01-01
  • 2014-08-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-09-16
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多