eclipse下ant的问题!!!!

kenadian 2008-08-18 04:03:29
我用的是Eclipse3.2,使用Middlegen的Eclipse插件创建Pojo类和hbm.xml文件。(版本是middlegenide_1.3.3.zip), 而且相应的hibernate、ant等插件都正确安装,一直都好好的,不知道为什么“运行-->ant构建”现在不能用了!!!!以前“运行-->ant构建”是“绿色”的,运行不会出错,现在“运行-->ant构建”是“灰色”的,运行就提示“Middlegen couldn't find any relations between any tables. This may be intentional from the design of the database, but it may also be because you have incorrectly defined the relationships. It could also be because the JDBC driver you're using doesn't correctly implement DatabaseMetaData. See the samples (for an example on how to define relationships) and verify that your driver correctly implements DatabaseMetaData.”
bulid.xml也一直正常,没有改过,不知为什么突然就用不了了??
高手指教!!!!帮帮忙!!!!谢谢!!
...全文
68 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
kenadian 2008-08-21
  • 打赏
  • 举报
回复
哦~~谢谢帮助!!^_^
不能飞的肥燕 2008-08-20
  • 打赏
  • 举报
回复
从你的log可以看出,这个是你的数据库相关的配置或者数据库有问题,和Ant没关系的。
kenadian 2008-08-19
  • 打赏
  • 举报
回复
谢谢!!~~
那“ant构建”的图标变成“灰色”是什么原因啊??原来都是“绿色”的~~~~
chpublish1012 2008-08-19
  • 打赏
  • 举报
回复
可能是数据库的问题 改动表了?还是换数据库了?程序可能没问题 换数据库记得换连接数据库的连接串

58,454

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧