myeclips的报错

来源:百度知道 编辑:UC知道 时间:2024/06/02 13:30:50
我在做一个自动发送短信的平台
报错如下:
[INFO ] 2009-03-17 18:50:41,328 method:org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:154)
building session factory
[WARN ] 2009-03-17 18:50:41,343 method:net.sf.ehcache.config.Configurator.configure(Configurator.java:126)
No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Documents%20and%20Settings/Dracula/workspace/MartNote/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
[INFO ] 2009-03-17 18:50:41,625 method:org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:82)
Not binding factory to JNDI, no JNDI name configured
求高手帮着看看这出的是什么错?

在你的ehcache-failsafe.xml文件里面,找不到:/C:/Documents%20and%20Settings/Dracula/workspace/MartNote/lib/ehcache-1.1.jar!/ehcache-failsafe.xml这个路劲,你看一下是不是你的xml的设置有问题
还有就是你的JNDI这个字段在不在你的SessionFactoryImpl.java里面。