本来运行OK的项目,提交到oschina上之后,就报错了,应该是dao.json加载不到,请帮忙看下
2017-2-26 23:5:52.185 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 0 resource by src( conf ) , regex( ^(.+[.])(js|json)$ )
2017-2-26 23:5:52.187 ERROR [RMI TCP Connection(3)-127.0.0.1] Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.json.JsonLoader'
by args: [
@(conf)] becasue:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in conf
IDEA配置中,目录结构
src/main/java/(java设置了作为源文件夹)
src/main/resources(resources设置了作为资源文件夹,conf在这个目录下)