org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties FAIL to create Ioc Bean name=[conf]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties] FAIL to create Ioc Bean name=[dataSource]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties FAIL to create Ioc Bean name=[conf]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties]] FAIL to create Ioc Bean name=[dao]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties FAIL to create Ioc Bean name=[conf]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties] FAIL to create Ioc Bean name=[dataSource]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties FAIL to create Ioc Bean name=[conf]
beacase [Fail to set '[db.properties]'[ [Ljava.lang.String;@60f1439d ] by setter org.nutz.ioc.impl.PropertiesProxy.'setPaths()' because [java.lang.RuntimeException: folder or file like '^.+[.]properties$' no found in db.properties]: folder or file like '^.+[.]properties$' no found in db.properties]]]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:967)
at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
问答
启动tomcat读取db.properties配置文件报错
添加回复
请先登陆