我是靠谱客的博主 漂亮硬币,这篇文章主要介绍java 读 tomcat 配置文件_启动tomcat读取db.properties配置文件报错,现在分享给大家,希望可以做个参考。

ijp6si7ag54rodin90fimvce

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)

最后

以上就是漂亮硬币最近收集整理的关于java 读 tomcat 配置文件_启动tomcat读取db.properties配置文件报错的全部内容,更多相关java内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(123)

评论列表共有 0 条评论

立即
投稿
返回
顶部