成功配置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