我是靠谱客的博主 漂亮硬币,最近开发中收集的这篇文章主要介绍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 读 tomcat 配置文件_启动tomcat读取db.properties配置文件报错所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部