成功配置wiring的大侠进来看看吧,Thanks!!!

hfree 2005-03-24 11:34:12
配置wiring,执行ant db-schema时候出现如下错误!困惑一天!大虾帮帮忙啊!!!

11:13:35,546 INFO Environment:462 - Hibernate 2.1.2
11:13:35,546 INFO Environment:491 - hibernate.properties not found
11:13:35,562 INFO Environment:519 - using CGLIB reflection optimizer
11:13:35,562 INFO Configuration:166 - Mapping file: E:\Tomcat
11:13:35,593 ERROR Configuration:175 - Could not configure datastore from file: E:\Tomcat
java.net.MalformedURLException: E:\Tomcat (系统找不到指定的文件。)
at org.dom4j.io.SAXReader.read(SAXReader.java:221)
at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:169)
at net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:289)
11:13:35,593 ERROR SchemaExport:310 - Error creating schema
net.sf.hibernate.MappingException: java.net.MalformedURLException: E:\Tomcat (系统找不到指定的文件。)
at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:176)
at net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:289)
Caused by: java.net.MalformedURLException: E:\Tomcat (系统找不到指定的文件。)
at org.dom4j.io.SAXReader.read(SAXReader.java:221)
at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:169)
... 1 more
net.sf.hibernate.MappingException: java.net.MalformedURLException: E:\Tomcat (系统找不到指定的文件。)
at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:176)
at net.sf.hibernate.tool.hbm2ddl.SchemaExport.main(SchemaExport.java:289)
Caused by: java.net.MalformedURLException: E:\Tomcat (系统找不到指定的文件。)
at org.dom4j.io.SAXReader.read(SAXReader.java:221)
at net.sf.hibernate.cfg.Configuration.addFile(Configuration.java:169)
... 1 more
...全文
70 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
craigavon 2005-03-25
  • 打赏
  • 举报
回复
up
hfree 2005-03-25
  • 打赏
  • 举报
回复
问题已经解决,参见我的blog
http://blog.csdn.net/hfree/archive/2005/03/25/329662.aspx
第六点.

结贴吧,谁帮忙顶一下!thx !
hfree 2005-03-24
  • 打赏
  • 举报
回复
11:13:35,562 INFO Configuration:166 - Mapping file: E:\Tomcat
11:13:35,593 ERROR Configuration:175 - Could not configure datastore from file: E:\Tomcat

这两句最是不解啊,我的tocat_home明明是E:\Tomcat 5.0

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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