NutzCN Logo
问答 求助:/.nutz/tmp/dao/这个值在哪里可以修改
发布于 2974天前 作者 qq_e1338e56 1750 次浏览 复制 上一个帖子 下一个帖子
标签:

2016-10-31 18:06:46,409 org.nutz.lang.Files.createDirIfNoExists(Files.java:422) WARN - create filepool dir(/home/hnhtmydhdnehutvmry/.nutz/tmp/dao) fail!!
2016-10-31 18:06:46,410 org.nutz.dao.jdbc.JdbcExpertConfigFile.init(JdbcExpertConfigFile.java:66) WARN - NutDao FilePool create fail!! Blob and Clob Support is DISABLE!! Home=/home/hnhtmydhdnehutvmry/.nutz/tmp/dao/
java.lang.RuntimeException: '/home/hnhtmydhdnehutvmry/.nutz/tmp/dao/' should be a directory or don't have permission to create it!
at org.nutz.lang.Lang.makeThrow(Lang.java:104)
at org.nutz.lang.Files.createDirIfNoExists(Files.java:426)
at org.nutz.filepool.NutFilePool.(NutFilePool.java:27)
at org.nutz.dao.jdbc.JdbcExpertConfigFile.init(JdbcExpertConfigFile.java:48)
at org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:73)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:191)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:182)
at org.nutz.dao.impl.NutDao.(NutDao.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.init(DefaultMirrorFactory.java:114)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:154)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:107)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4658)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5277)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

1 回复

jar里面有个 org/nutz/dao/jdbc/nutz_jdbc_experts.js

拷贝到源文件夹下, 修改里面路径即可.

添加回复
请先登陆
回到顶部