banq大侠,请教个Jdon框架的问题!

05-08-27 ttyfans
当我发布struts+jdon+hibernate应用,运行的时候出现错误:

12:10:13,875 INFO [ContainerDirector] <======== Jdon Framework started successfully! =========>

12:10:14,125 INFO [Environment] Hibernate 2.1.8

12:10:14,140 INFO [Environment] hibernate.properties not found

12:10:14,140 INFO [Environment] using CGLIB reflection optimizer

12:10:14,140 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling

12:10:14,156 INFO [Configuration] configuring from resource: /hibernate.cfg.xml

12:10:14,156 INFO [Configuration] Configuration resource: /hibernate.cfg.xml

12:10:14,171 WARN [Configuration] /hibernate.cfg.xml not found

12:10:14,171 ERROR [JdbcDAO] net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found

12:10:14,734 ERROR [JdbcDAO] error:java.lang.NullPointerException

12:10:14,734 WARN [root] com.jdon.strutsutil.ModelListAction

java.lang.Exception: the model Id=(1) maybe be deleted!

我是按那个说明文件一步步做下来的,但出现了这个问题!

请问何故??我是第一次使用Jdon框架呀!

banq
2005-08-27 19:29
hibernate.cfg.xml 没有打包在war包中,它是和jdonframework.xml一起被打包的。

猜你喜欢