NutzCN Logo
问答 nutzbook项目 启动tomcat报Object 'dao' without define
发布于 2630天前 作者 qq_b74ac0de 1929 次浏览 复制 上一个帖子 下一个帖子
标签:

我用的工具是idea,使用maven管理项目
错误代码

package net.wendal.nutzbook;

import net.wendal.nutzbook.bean.User;
import org.nutz.dao.Dao;
import org.nutz.dao.util.Daos;
import org.nutz.ioc.Ioc;
import org.nutz.mvc.NutConfig;
import org.nutz.mvc.Setup;

import java.util.Date;

public class MainSetup implements Setup {
    public void init(NutConfig nc) {
        Ioc ioc = nc.getIoc();
        Dao dao = ioc.get(Dao.class);说这行有问题
        Daos.createTablesInPackage(dao,"net.wendal.nutzbook",false);
        if(dao.count(User.class)==0){
            User user = new User();
            user.setName("admin");
            user.setPassword("123456");
            user.setCreateTime(new Date());
            user.setUpdateTime(new Date());
            dao.insert(user);
        }
    }

    public void destroy(NutConfig nc) {

    }
}

dao.js

var ioc = {
    dataSource : {
        type : "com.alibaba.druid.pool.DruidDataSource",
        events : {
            create : "init",
            depose : 'close'
        },
        fields : {
            url : "jdbc:mysql://127.0.0.1:3306/nutzbook",
            username : "root",
            password : "1234",
            testWhileIdle : true, // 非常重要,预防mysql的8小时timeout问题
            //validationQuery : "select 1" , // Oracle的话需要改成 select 1 from dual
            maxActive : 100
        }
    },
    dao : {
        type : "org.nutz.dao.impl.NutDao",
        args : [{refer:"dataSource"}]
    }
};

报错信息

17-10-10 12:45:00.274 ERROR [RMI TCP Connection(3)-127.0.0.1] Error happend during start serivce!
org.nutz.ioc.IocException: [dao] # For object [dao] - type:[interface org.nutz.dao.Dao]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at net.wendal.nutzbook.MainSetup.init(MainSetup.java:15)
2017-10-10 12:45:0.273 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
2017-10-10 12:45:0.274 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dao
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	at org.nutz.mvc.ActionHandler.<init>(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:283)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4491)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1729)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-10-10 12:45:0.277 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@1480322105 is closing. startup date [17-10-10 12:45:00.223]
	at java.lang.reflect.Method.invoke(Method.java:498)
2017-10-10 12:45:0.278 DEBUG [RMI TCP Connection(3)-127.0.0.1] Depose object '$aop_async' ...
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
2017-10-10 12:45:0.278 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@1480322105 is deposed. startup date [17-10-10 12:45:00.223]
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'dao' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:174)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 56 more
17-10-10 12:45:00.276 ERROR [RMI TCP Connection(3)-127.0.0.1] try to depose ioc
10-Oct-2017 12:45:00.281 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
10-Oct-2017 12:45:00.282 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2017-10-10 12:45:00,295] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.
10-Oct-2017 12:45:08.777 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\program\Tomcat 9.0\webapps\manager]
10-Oct-2017 12:45:08.863 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\program\Tomcat 9.0\webapps\manager] has finished in [86] ms

14 回复

贴完整启动日志

我的dao.js是放在resources文件夹下的,这写的有问题吗?

@IocBy(type = ComboIocProvider.class,args = {"*js","*anno","net.wendal.nutzbook","tx","*async"})
"D:\program\Tomcat 9.0\bin\catalina.bat" run
[2017-10-10 12:44:57,533] Artifact nutzbook:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook"
Using CATALINA_HOME:   "D:\program\Tomcat 9.0"
Using CATALINA_TMPDIR: "D:\program\Tomcat 9.0\temp"
Using JRE_HOME:        "D:\program\Java\jdk1.8.0_144"
Using CLASSPATH:       "D:\program\Tomcat 9.0\bin\bootstrap.jar;D:\program\Tomcat 9.0\bin\tomcat-juli.jar"
10-Oct-2017 12:44:58.510 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.1
10-Oct-2017 12:44:58.516 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 27 2017 17:31:52 UTC
10-Oct-2017 12:44:58.516 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.1.0
10-Oct-2017 12:44:58.516 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\program\Java\jdk1.8.0_144\jre
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_144-b01
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 12:44:58.517 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\program\Tomcat 9.0
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\conf\logging.properties
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
10-Oct-2017 12:44:58.518 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 12:44:58.519 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\program\Tomcat 9.0
10-Oct-2017 12:44:58.519 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\program\Tomcat 9.0\temp
10-Oct-2017 12:44:58.519 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\program\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\fshman\AppData\Local\Microsoft\WindowsApps;;.]
10-Oct-2017 12:44:58.676 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
10-Oct-2017 12:44:58.699 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 12:44:58.711 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 12:44:58.713 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 12:44:58.714 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 550 ms
10-Oct-2017 12:44:58.756 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
10-Oct-2017 12:44:58.756 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.1
10-Oct-2017 12:44:58.770 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
10-Oct-2017 12:44:58.785 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 12:44:58.787 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 72 ms
Connected to server
[2017-10-10 12:44:59,118] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
10-Oct-2017 12:44:59.904 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-10-10 12:44:59.958 INFO [RMI TCP Connection(3)-127.0.0.1] Select SystemLog as Nutz.Log implement
2017-10-10 12:44:59.965 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-10-10 12:45:0.31 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=D:\program\Tomcat 9.0\bin], Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar]]
2017-10-10 12:45:0.74 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{D:\program\Tomcat 9.0\bin=Dir[path=D:\program\Tomcat 9.0\bin], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\program\Tomcat 9.0\bin\bootstrap.jar=Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], D:\program\Tomcat 9.0\bin\tomcat-juli.jar=Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar], D:\project\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=D:\project\nutzbook\target\nutzbook\WEB-INF\classes], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar]}
2017-10-10 12:45:0.152 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 95 castor for Castors
2017-10-10 12:45:0.167 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-10-10 12:45:0.169 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.60 
2017-10-10 12:45:0.170 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-10-10 12:45:0.170 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-10-10 12:45:0.171 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-10-10 12:45:0.171 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : D:\program\Tomcat 9.0\bin\.
2017-10-10 12:45:0.172 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_144
2017-10-10 12:45:0.172 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-10-10 12:45:0.172 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-10-10 12:45:0.172 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 10 amd64
2017-10-10 12:45:0.172 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/9.0.1
2017-10-10 12:45:0.173 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 4.0
2017-10-10 12:45:0.173 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-10-10 12:45:0.173 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\work\Catalina\localhost\ROOT
2017-10-10 12:45:0.173 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : net.wendal.nutzbook.MainModule
2017-10-10 12:45:0.175 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = D:/project/nutzbook/target/nutzbook
2017-10-10 12:45:0.177 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "*anno", "net.wendal.nutzbook", "tx", "*async"],init=[])
2017-10-10 12:45:0.198 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 0 bean define from path=[] --> []
2017-10-10 12:45:0.207 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 3 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
17-10-10 12:45:00.217 WARN [RMI TCP Connection(3)-127.0.0.1] NONE Annotation-Class found!! Check your ioc configure!! packages=[net.wendal.nutzbook, tx]
2017-10-10 12:45:0.217 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 0 resource by src( tx/ ) , regex( ^.+[.]class$ )
2017-10-10 12:45:0.219 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017-10-10 12:45:0.223 INFO [RMI TCP Connection(3)-127.0.0.1] NutIoc init begin ...
2017-10-10 12:45:0.226 INFO [RMI TCP Connection(3)-127.0.0.1] ... NutIoc init complete
2017-10-10 12:45:0.231 INFO [RMI TCP Connection(3)-127.0.0.1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-10-10 12:45:0.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Views(DefaultViewMaker.class)
2017-10-10 12:45:0.245 DEBUG [RMI TCP Connection(3)-127.0.0.1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-10-10 12:45:0.255 DEBUG [RMI TCP Connection(3)-127.0.0.1] module class location 'file:/D:/project/nutzbook/target/nutzbook/WEB-INF/classes/'
2017-10-10 12:45:0.256 DEBUG [RMI TCP Connection(3)-127.0.0.1]  > scan 'net.wendal.nutzbook'
17-10-10 12:45:00.258 WARN [RMI TCP Connection(3)-127.0.0.1] None module classes found!!!
17-10-10 12:45:00.258 WARN [RMI TCP Connection(3)-127.0.0.1] None @At found in any modules class!!
2017-10-10 12:45:0.258 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 3 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-10-10 12:45:0.259 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Localization not define
2017-10-10 12:45:0.260 INFO [RMI TCP Connection(3)-127.0.0.1] Setup application...
2017-10-10 12:45:0.261 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dao'<interface org.nutz.dao.Dao>
2017-10-10 12:45:0.261 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-10-10 12:45:0.262 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=$aop_async
2017-10-10 12:45:0.267 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject($aop_async) in AsyncAopIocLoader@45229085
2017-10-10 12:45:0.267 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-10-10 12:45:0.268 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object '$aop_async' to [app] 
17-10-10 12:45:00.274 ERROR [RMI TCP Connection(3)-127.0.0.1] Error happend during start serivce!
org.nutz.ioc.IocException: [dao] # For object [dao] - type:[interface org.nutz.dao.Dao]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at net.wendal.nutzbook.MainSetup.init(MainSetup.java:15)
2017-10-10 12:45:0.273 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
2017-10-10 12:45:0.274 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dao
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	at org.nutz.mvc.ActionHandler.<init>(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:283)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4491)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1729)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-10-10 12:45:0.277 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@1480322105 is closing. startup date [17-10-10 12:45:00.223]
	at java.lang.reflect.Method.invoke(Method.java:498)
2017-10-10 12:45:0.278 DEBUG [RMI TCP Connection(3)-127.0.0.1] Depose object '$aop_async' ...
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
2017-10-10 12:45:0.278 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@1480322105 is deposed. startup date [17-10-10 12:45:00.223]
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.ioc.ObjectLoadException: Object 'dao' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:174)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 56 more
17-10-10 12:45:00.276 ERROR [RMI TCP Connection(3)-127.0.0.1] try to depose ioc
10-Oct-2017 12:45:00.281 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
10-Oct-2017 12:45:00.282 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2017-10-10 12:45:00,295] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.
10-Oct-2017 12:45:08.777 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\program\Tomcat 9.0\webapps\manager]
10-Oct-2017 12:45:08.863 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\program\Tomcat 9.0\webapps\manager] has finished in [86] ms

iocby没抄对,编码也没改

编码在哪改啊?

把前面的章节都无视了?

http://nutzbook.wendal.net/

iocby重新复制过了
然后报这些

"D:\program\Tomcat 9.0\bin\catalina.bat" run
[2017-10-10 01:22:40,077] Artifact nutzbook:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook"
Using CATALINA_HOME:   "D:\program\Tomcat 9.0"
Using CATALINA_TMPDIR: "D:\program\Tomcat 9.0\temp"
Using JRE_HOME:        "D:\program\Java\jdk1.8.0_144"
Using CLASSPATH:       "D:\program\Tomcat 9.0\bin\bootstrap.jar;D:\program\Tomcat 9.0\bin\tomcat-juli.jar"
10-Oct-2017 13:22:41.270 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.1
10-Oct-2017 13:22:41.274 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 27 2017 17:31:52 UTC
10-Oct-2017 13:22:41.274 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.1.0
10-Oct-2017 13:22:41.274 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
10-Oct-2017 13:22:41.274 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
10-Oct-2017 13:22:41.274 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
10-Oct-2017 13:22:41.276 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\program\Java\jdk1.8.0_144\jre
10-Oct-2017 13:22:41.276 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_144-b01
10-Oct-2017 13:22:41.277 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
10-Oct-2017 13:22:41.277 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 13:22:41.277 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\program\Tomcat 9.0
10-Oct-2017 13:22:41.277 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\conf\logging.properties
10-Oct-2017 13:22:41.282 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Oct-2017 13:22:41.282 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
10-Oct-2017 13:22:41.282 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
10-Oct-2017 13:22:41.283 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 13:22:41.284 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\program\Tomcat 9.0
10-Oct-2017 13:22:41.284 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\program\Tomcat 9.0\temp
10-Oct-2017 13:22:41.284 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\program\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\fshman\AppData\Local\Microsoft\WindowsApps;;.]
10-Oct-2017 13:22:41.450 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
10-Oct-2017 13:22:41.466 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 13:22:41.485 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 13:22:41.489 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 13:22:41.490 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 695 ms
10-Oct-2017 13:22:41.534 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
10-Oct-2017 13:22:41.534 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.1
10-Oct-2017 13:22:41.548 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
10-Oct-2017 13:22:41.562 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 13:22:41.565 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 74 ms
Connected to server
[2017-10-10 01:22:41,690] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
10-Oct-2017 13:22:42.810 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-10-10 13:22:42.895 INFO [RMI TCP Connection(3)-127.0.0.1] Select SystemLog as Nutz.Log implement
2017-10-10 13:22:42.906 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-10-10 13:22:43.51 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=D:\program\Tomcat 9.0\bin], Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar]]
2017-10-10 13:22:43.129 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{D:\program\Tomcat 9.0\bin=Dir[path=D:\program\Tomcat 9.0\bin], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\program\Tomcat 9.0\bin\bootstrap.jar=Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], D:\program\Tomcat 9.0\bin\tomcat-juli.jar=Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar], D:\project\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=D:\project\nutzbook\target\nutzbook\WEB-INF\classes], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar]}
2017-10-10 13:22:43.239 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 95 castor for Castors
2017-10-10 13:22:43.270 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-10-10 13:22:43.273 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.60 
2017-10-10 13:22:43.273 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-10-10 13:22:43.274 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-10-10 13:22:43.286 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-10-10 13:22:43.286 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : D:\program\Tomcat 9.0\bin\.
2017-10-10 13:22:43.287 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_144
2017-10-10 13:22:43.287 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-10-10 13:22:43.288 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-10-10 13:22:43.288 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 10 amd64
2017-10-10 13:22:43.289 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/9.0.1
2017-10-10 13:22:43.290 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 4.0
2017-10-10 13:22:43.291 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-10-10 13:22:43.292 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\work\Catalina\localhost\ROOT
2017-10-10 13:22:43.294 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : net.wendal.nutzbook.MainModule
2017-10-10 13:22:43.297 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = D:/project/nutzbook/target/nutzbook
2017-10-10 13:22:43.302 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx", "*async"],init=[])
2017-10-10 13:22:43.341 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 0 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
17-10-10 13:22:43.346 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: [
  @(ioc/)] because:
java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in ioc/
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:126)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:80)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:384)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	at org.nutz.mvc.ActionHandler.<init>(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:283)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4491)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1729)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in ioc/
	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.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.lang.Lang.makeThrow(Lang.java:149)
	at org.nutz.resource.Scans.loadResource(Scans.java:116)
	at org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:45)
	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.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
	... 58 more
10-Oct-2017 13:22:43.352 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
10-Oct-2017 13:22:43.352 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2017-10-10 01:22:43,372] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.
10-Oct-2017 13:22:51.549 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\program\Tomcat 9.0\webapps\manager]
10-Oct-2017 13:22:51.651 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\program\Tomcat 9.0\webapps\manager] has finished in [102] ms

我用的是idea开发工具,目录结构和eclipse不一样

maven项目吗? 当前dao.js的绝对路径是什么

D:\project\nutzbook\src\main\resources\dao.js

放到 D:\project\nutzbook\src\main\resources\ioc\dao.js

"D:\program\Tomcat 9.0\bin\catalina.bat" run
[2017-10-10 01:33:29,034] Artifact nutzbook:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook"
Using CATALINA_HOME:   "D:\program\Tomcat 9.0"
Using CATALINA_TMPDIR: "D:\program\Tomcat 9.0\temp"
Using JRE_HOME:        "D:\program\Java\jdk1.8.0_144"
Using CLASSPATH:       "D:\program\Tomcat 9.0\bin\bootstrap.jar;D:\program\Tomcat 9.0\bin\tomcat-juli.jar"
10-Oct-2017 13:33:29.982 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.1
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 27 2017 17:31:52 UTC
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.1.0
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\program\Java\jdk1.8.0_144\jre
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_144-b01
10-Oct-2017 13:33:29.987 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\program\Tomcat 9.0
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\conf\logging.properties
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
10-Oct-2017 13:33:29.988 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\program\Tomcat 9.0
10-Oct-2017 13:33:29.989 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\program\Tomcat 9.0\temp
10-Oct-2017 13:33:29.990 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [D:\program\Java\jdk1.8.0_144\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Users\fshman\AppData\Local\Microsoft\WindowsApps;;.]
10-Oct-2017 13:33:30.158 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
10-Oct-2017 13:33:30.176 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 13:33:30.199 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 13:33:30.203 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-Oct-2017 13:33:30.203 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 563 ms
10-Oct-2017 13:33:30.246 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
10-Oct-2017 13:33:30.246 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.1
10-Oct-2017 13:33:30.262 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
10-Oct-2017 13:33:30.281 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
10-Oct-2017 13:33:30.287 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 82 ms
Connected to server
[2017-10-10 01:33:30,656] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
10-Oct-2017 13:33:31.612 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-10-10 13:33:31.663 INFO [RMI TCP Connection(3)-127.0.0.1] Select SystemLog as Nutz.Log implement
2017-10-10 13:33:31.671 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-10-10 13:33:31.728 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=D:\program\Tomcat 9.0\bin], Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar]]
2017-10-10 13:33:31.774 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{D:\program\Tomcat 9.0\bin=Dir[path=D:\program\Tomcat 9.0\bin], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.60.jar], D:\program\Tomcat 9.0\bin\bootstrap.jar=Jar[path=D:\program\Tomcat 9.0\bin\bootstrap.jar], D:\program\Tomcat 9.0\bin\tomcat-juli.jar=Jar[path=D:\program\Tomcat 9.0\bin\tomcat-juli.jar], D:\project\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=D:\project\nutzbook\target\nutzbook\WEB-INF\classes], D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=D:\project\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.40.jar]}
2017-10-10 13:33:31.896 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 95 castor for Castors
2017-10-10 13:33:31.929 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-10-10 13:33:31.932 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.60 
2017-10-10 13:33:31.933 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-10-10 13:33:31.935 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-10-10 13:33:31.939 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-10-10 13:33:31.939 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : D:\program\Tomcat 9.0\bin\.
2017-10-10 13:33:31.939 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_144
2017-10-10 13:33:31.939 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-10-10 13:33:31.940 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-10-10 13:33:31.940 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 10 amd64
2017-10-10 13:33:31.940 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/9.0.1
2017-10-10 13:33:31.941 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 4.0
2017-10-10 13:33:31.941 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-10-10 13:33:31.941 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\fshman\.IntelliJIdea2017.2\system\tomcat\Unnamed_nutzbook\work\Catalina\localhost\ROOT
2017-10-10 13:33:31.942 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : net.wendal.nutzbook.MainModule
2017-10-10 13:33:31.943 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = D:/project/nutzbook/target/nutzbook
2017-10-10 13:33:31.945 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx", "*async"],init=[])
2017-10-10 13:33:31.975 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-10-10 13:33:31.975 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [dao.js]
2017-10-10 13:33:31.981 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-10-10 13:33:31.983 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 3 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-10-10 13:33:31.993 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-10-10 13:33:31.995 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
17-10-10 13:33:31.993 WARN [RMI TCP Connection(3)-127.0.0.1] NONE Annotation-Class found!! Check your ioc configure!! packages=[net.wendal.nutzbook]
2017-10-10 13:33:31.999 INFO [RMI TCP Connection(3)-127.0.0.1] NutIoc init begin ...
2017-10-10 13:33:32.5 INFO [RMI TCP Connection(3)-127.0.0.1] ... NutIoc init complete
2017-10-10 13:33:32.10 INFO [RMI TCP Connection(3)-127.0.0.1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-10-10 13:33:32.12 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Views(DefaultViewMaker.class)
2017-10-10 13:33:32.21 DEBUG [RMI TCP Connection(3)-127.0.0.1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-10-10 13:33:32.29 DEBUG [RMI TCP Connection(3)-127.0.0.1] module class location 'file:/D:/project/nutzbook/target/nutzbook/WEB-INF/classes/'
2017-10-10 13:33:32.29 DEBUG [RMI TCP Connection(3)-127.0.0.1]  > scan 'net.wendal.nutzbook'
2017-10-10 13:33:32.31 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 3 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
17-10-10 13:33:32.031 WARN [RMI TCP Connection(3)-127.0.0.1] None module classes found!!!
17-10-10 13:33:32.032 WARN [RMI TCP Connection(3)-127.0.0.1] None @At found in any modules class!!
2017-10-10 13:33:32.33 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Localization not define
2017-10-10 13:33:32.36 INFO [RMI TCP Connection(3)-127.0.0.1] Setup application...
2017-10-10 13:33:32.37 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dao'<interface org.nutz.dao.Dao>
2017-10-10 13:33:32.38 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-10-10 13:33:32.39 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=$aop_async
2017-10-10 13:33:32.43 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject($aop_async) in AsyncAopIocLoader@846038118
2017-10-10 13:33:32.43 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-10-10 13:33:32.45 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object '$aop_async' to [app] 
2017-10-10 13:33:32.51 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-10-10 13:33:32.51 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dao
2017-10-10 13:33:32.52 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dao
2017-10-10 13:33:32.56 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-10-10 13:33:32.56 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-10-10 13:33:32.69 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class org.nutz.dao.impl.NutDao without AOP
2017-10-10 13:33:32.70 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'dao' to [app] 
2017-10-10 13:33:32.71 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dataSource'<>
2017-10-10 13:33:32.71 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dataSource
2017-10-10 13:33:32.71 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dataSource
17-10-10 13:33:32.073 ERROR [RMI TCP Connection(3)-127.0.0.1] Error happend during start serivce!
org.nutz.ioc.IocException: [dao, dataSource] # For object [dataSource] - type:[]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:75)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at net.wendal.nutzbook.MainSetup.init(MainSetup.java:15)
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	at org.nutz.mvc.ActionHandler.<init>(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:283)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:264)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4491)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5131)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:740)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:716)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1729)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.nutz.ioc.ObjectLoadException: Wrong type name: 'com.alibaba.druid.pool.DruidDataSource'
	at org.nutz.ioc.IocLoading.E(IocLoading.java:32)
	at org.nutz.ioc.IocLoading.map2iobj(IocLoading.java:59)
	at org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:86)
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:155)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 59 more
Caused by: java.lang.ClassNotFoundException: com.alibaba.druid.pool.DruidDataSource
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nutz.lang.Lang.loadClass(Lang.java:2022)
	at org.nutz.ioc.IocLoading.map2iobj(IocLoading.java:55)
	... 62 more
17-10-10 13:33:32.075 ERROR [RMI TCP Connection(3)-127.0.0.1] try to depose ioc
10-Oct-2017 13:33:32.077 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
10-Oct-2017 13:33:32.078 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
2017-10-10 13:33:32.73 DEBUG [RMI TCP Connection(3)-127.0.0.1] Remove object 'dao' from [app] 
2017-10-10 13:33:32.75 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@801935037 is closing. startup date [17-10-10 13:33:31.999]
2017-10-10 13:33:32.76 DEBUG [RMI TCP Connection(3)-127.0.0.1] Depose object '$aop_async' ...
2017-10-10 13:33:32.76 INFO [RMI TCP Connection(3)-127.0.0.1] org.nutz.ioc.impl.NutIoc@801935037 is deposed. startup date [17-10-10 13:33:31.999]
[2017-10-10 01:33:32,124] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.
10-Oct-2017 13:33:40.267 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\program\Tomcat 9.0\webapps\manager]
10-Oct-2017 13:33:40.347 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\program\Tomcat 9.0\webapps\manager] has finished in [79] ms

要么类名写错,要么没加druid依赖

没加druid依赖,谢谢谢谢

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