NutzCN Logo
问答 任务启动出错,怎么解决啊啊啊啊啊
发布于 2742天前 作者 qq_b7c44cd1 3021 次浏览 复制 上一个帖子 下一个帖子
标签:

org.nutz.ioc.IocException: [nutQuartzCronJobFactory] # FAIL to create Ioc Bean name=[nutQuartzCronJobFactory这个错误怎么解决?求大神
2017-05-14 15:37:03,878 org.nutz.integration.quartz.NutQuartzCronJobFactory.init(NutQuartzCronJobFactory.java:35) DEBUG - job define name=net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java cron=0 0/2 * * * ?
2017-05-14 15:37:03,880 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) DEBUG - Remove object 'nutQuartzCronJobFactory' from [app]
2017-05-14 15:37:03,882 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: [nutQuartzCronJobFactory] # FAIL to create Ioc Bean name=[nutQuartzCronJobFactory]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
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:41)
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.(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:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1863)
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:301)
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:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
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:301)
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:346)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

8 回复

我把所有的贴出来

clean non-active user

cron.net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java=0 0/2 * * * ?
cron.pkgs=net.wendal.nutzbook.quartz.job

package net.wendal.nutzbook.quartz.job;

import java.util.Date;

import net.wendal.nutzbook.bean.User;
import net.wendal.nutzbook.bean.UserProfile;

import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.dao.Sqls;
import org.nutz.dao.sql.Sql;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

@IocBean
public class CleanNonActiveUserJob implements Job {

private static final Log log = Logs.get();

@Inject
protected Dao dao;

public void execute(JobExecutionContext context) throws JobExecutionException {
    log.debug("clean Non-Active User , start");
    Date deadtime = new Date(System.currentTimeMillis() - 24*60*60*1000L); // 一天, 测试的时候可以改成1小时之类的
    Cnd cnd = Cnd.where("userId", ">", 10).and("createTime", "<", deadtime).and(Cnd.exps("emailChecked", "=", false).or("email", "IS", null));
    int deleted = dao.clear(UserProfile.class, cnd);
    log.debugf("delete %d UserProfile", deleted);

    Sql sql = Sqls.create("delete from $user_table where id > 10 and not exists (select 1 from $user_profile_table where $user_table.id = uid ) and createTime < @deadtime");
    sql.vars().set("user_table", dao.getEntity(User.class).getTableName());
    sql.vars().set("user_profile_table", dao.getEntity(UserProfile.class).getTableName());
    sql.params().set("deadtime", deadtime);
    dao.execute(sql);
    log.debugf("delete %d User", sql.getUpdateCount());

    log.debug("clean Non-Active User , Done");
}

}

/usr/local/tomcat7/bin/catalina.sh run
[2017-05-14 03:36:51,938] Artifact nutz:war exploded: Server is not connected. Deploy is not available.
Connected to the target VM, address: '127.0.0.1:51514', transport: 'socket'
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.76
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 9 2017 13:49:01 UTC
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.76.0
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Mac OS X
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.12.2
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: x86_64
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_121-b13
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: /Users/morongjun/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_nutz
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: /usr/local/tomcat7
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=/Users/morongjun/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_nutz/conf/logging.properties
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51514,suspend=y,server=n
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat7/endorsed
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=/Users/morongjun/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_nutz
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=/usr/local/tomcat7
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=/usr/local/tomcat7/temp
五月 14, 2017 3:36:58 下午 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: /Users/morongjun/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
五月 14, 2017 3:36:58 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
五月 14, 2017 3:36:58 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1099 ms
五月 14, 2017 3:36:58 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 14, 2017 3:36:58 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.76
五月 14, 2017 3:36:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
五月 14, 2017 3:36:58 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
五月 14, 2017 3:36:58 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 123 ms
Connected to server
[2017-05-14 03:36:59,201] Artifact nutz:war exploded: Artifact is being deployed, please wait...
2017-05-14 15:37:01,053 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:128) INFO - Starting Shiro environment initialization.
2017-05-14 15:37:01,072 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:76) DEBUG - Checking any specified config locations.
2017-05-14 15:37:01,073 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:81) DEBUG - No INI instance or config locations specified. Trying default config locations.
2017-05-14 15:37:01,081 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2017-05-14 15:37:01,093 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [main]
2017-05-14 15:37:01,094 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [urls]
2017-05-14 15:37:01,097 org.apache.shiro.web.env.IniWebEnvironment.getDefaultIni(IniWebEnvironment.java:136) DEBUG - Discovered non-empty INI configuration at location 'classpath:shiro.ini'. Using for configuration.
2017-05-14 15:37:01,101 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=urls]
2017-05-14 15:37:01,425 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=urls]
2017-05-14 15:37:01,430 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/*] from String definition [anon]
2017-05-14 15:37:01,431 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/*] to filter [anon] with config [null]
2017-05-14 15:37:01,433 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:136) DEBUG - Published WebEnvironment as ServletContext attribute with name [org.apache.shiro.web.env.EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY]
2017-05-14 15:37:01,433 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:141) INFO - Shiro environment initialized in 376 ms.
2017-05-14 15:37:01,487 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2017-05-14 15:37:01,570 org.nutz.resource.Scans.(Scans.java:509) DEBUG - Locations for Scans:
[Dir[path=/usr/local/tomcat7/bin], Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-1.r.60.jar], Dir[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/classes], Jar[path=/usr/local/tomcat7/bin/bootstrap.jar], Jar[path=/usr/local/tomcat7/bin/tomcat-juli.jar]]
2017-05-14 15:37:01,707 org.nutz.resource.Scans.init(Scans.java:105) DEBUG - Locations for Scans:
{/usr/local/tomcat7/bin=Dir[path=/usr/local/tomcat7/bin], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-1.r.60.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-1.r.60.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/classes=Dir[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/classes], /usr/local/tomcat7/bin/bootstrap.jar=Jar[path=/usr/local/tomcat7/bin/bootstrap.jar], /usr/local/tomcat7/bin/tomcat-juli.jar=Jar[path=/usr/local/tomcat7/bin/tomcat-juli.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-beanutils-1.9.3.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-beanutils-1.9.3.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/javax.servlet.jsp.jstl-1.2.0.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/javax.servlet.jsp.jstl-1.2.0.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/slf4j-log4j12-1.7.25.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/slf4j-log4j12-1.7.25.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/javax.mail-1.5.2.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/javax.mail-1.5.2.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-logging-1.2.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-logging-1.2.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/log4j-1.2.17.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/log4j-1.2.17.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/quartz-2.1.7.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/quartz-2.1.7.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-jstlel-1.2.5.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/taglibs-standard-jstlel-1.2.5.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-integration-quartz-1.r.60.r2.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/slf4j-api-1.7.25.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/slf4j-api-1.7.25.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-integration-shiro-1.r.60.r2.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/nutz-integration-shiro-1.r.60.r2.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/druid-1.0.26.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/druid-1.0.26.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/mysql-connector-java-5.1.40.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/mysql-connector-java-5.1.40.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-email-1.3.3.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/commons-email-1.3.3.jar], /Users/morongjun/workSpace/nutz/web/WEB-INF/lib/shiro-all-1.3.2.jar=Jar[path=/Users/morongjun/workSpace/nutz/web/WEB-INF/lib/shiro-all-1.3.2.jar]}
2017-05-14 15:37:01,857 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2017-05-14 15:37:01,898 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2017-05-14 15:37:01,903 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.60
2017-05-14 15:37:01,904 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2017-05-14 15:37:01,904 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2017-05-14 15:37:01,921 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : UTF-8
2017-05-14 15:37:01,922 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : /usr/local/tomcat7/bin/.
2017-05-14 15:37:01,922 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.8.0_121
2017-05-14 15:37:01,922 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : /
2017-05-14 15:37:01,923 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2017-05-14 15:37:01,924 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Mac OS X x86_64
2017-05-14 15:37:01,926 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/7.0.76
2017-05-14 15:37:01,926 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 3.0
2017-05-14 15:37:01,927 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath :
2017-05-14 15:37:01,927 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG - - context.tempdir : /Users/morongjun/Library/Caches/IntelliJIdea2017.1/tomcat/Unnamed_nutz/work/Catalina/localhost/_
2017-05-14 15:37:01,928 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG - - MainModule : net.wendal.nutzbook.MainModule
2017-05-14 15:37:01,931 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = /Users/morongjun/workSpace/nutz/web
2017-05-14 15:37:01,936 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.nutzbook", "*tx", "*quartz"],init=[])
2017-05-14 15:37:02,001 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-05-14 15:37:02,002 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2017-05-14 15:37:02,016 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:48) DEBUG - loading ioc js config from [mail.js]
2017-05-14 15:37:02,019 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 5 bean define from path=[ioc/] --> [conf, dao, emailAuthenticator, dataSource, htmlEmail]
2017-05-14 15:37:02,036 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 13 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-05-14 15:37:02,100 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class net.wendal.nutzbook.module.UserModule
2017-05-14 15:37:02,118 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class net.wendal.nutzbook.module.UserProfileModule
2017-05-14 15:37:02,150 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob
2017-05-14 15:37:02,154 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class net.wendal.nutzbook.service.impl.EmailServiceImpl
2017-05-14 15:37:02,157 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:50) INFO - Found 4 classes in 1 base-packages!
beans = ["cleanNonActiveUserJob", "userProfileModule", "userModule", "emailService"]
2017-05-14 15:37:02,168 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-05-14 15:37:02,176 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118) DEBUG - found org.nutz.integration.quartz.QuartzIocLoader -- org.nutz.integration.quartz.QuartzIocLoader
2017-05-14 15:37:02,177 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 0 bean define from path=[] --> []
2017-05-14 15:37:02,189 org.nutz.ioc.impl.NutIoc.(NutIoc.java:98) INFO - NutIoc init begin ...
2017-05-14 15:37:02,194 org.nutz.ioc.impl.NutIoc.(NutIoc.java:115) INFO - ... NutIoc init complete
2017-05-14 15:37:02,204 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-05-14 15:37:02,209 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(DefaultViewMaker.class)
2017-05-14 15:37:02,336 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2017-05-14 15:37:02,348 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.(JsonActionChainMakerConfiguretion.java:37) DEBUG - ActionChain Config:
{
"default": {
"ps": ["net.wendal.nutzbook.mvc.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "!org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
"error": "org.nutz.mvc.impl.processor.FailProcessor"
}
}
2017-05-14 15:37:02,348 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-05-14 15:37:02,359 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/Users/morongjun/workSpace/nutz/web/WEB-INF/classes/'
2017-05-14 15:37:02,359 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG - > scan 'net.wendal.nutzbook'
2017-05-14 15:37:02,371 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 13 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-05-14 15:37:02,374 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'net.wendal.nutzbook.module.UserModule'
2017-05-14 15:37:02,374 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'net.wendal.nutzbook.module.UserProfileModule'
2017-05-14 15:37:02,447 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/' >> (UserModule.java:155).index : void | @Ok(jsp:jsp.user.list) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,472 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/add' >> (UserModule.java:58).add : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,473 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/count' >> (UserModule.java:34).count : int | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,481 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/update' >> (UserModule.java:76).update : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,493 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/delete' >> (UserModule.java:92).delete : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,502 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/query' >> (UserModule.java:104).query : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,509 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/login' >> (UserModule.java:40).login : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,512 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/logout' >> (UserModule.java:163).logout : void | @Ok(>>:/ ) @Fail(jsp:jsp.500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,519 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/' >> (UserProfileModule.java:210).index : UserProfile | @Ok(jsp:jsp.user.profile) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,521 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/get' >> (UserProfileModule.java:52).get : UserProfile | @Ok(null ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,522 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:68) WARN - Duplicate @At mapping ? path=/user/profile/get
2017-05-14 15:37:02,528 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/get' >> (UserProfileModule.java:47).get : UserProfile | @Ok(null ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,535 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/update' >> (UserProfileModule.java:67).update : void | @Ok(void ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,541 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/avatar' >> (UserProfileModule.java:137).readAvatar : Object | @Ok(raw:jpg) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,543 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/active/mail' >> (UserProfileModule.java:149).activeMail : Object | @Ok(null ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,544 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/active/mail' >> (UserProfileModule.java:176).activeMailCallback : String | @Ok(raw ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,555 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: /Users/morongjun/workSpace/nutz/web/WEB-INF/tmp/user_avatar [20000]
2017-05-14 15:37:02,559 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: '/Users/morongjun/workSpace/nutz/web/WEB-INF/tmp/user_avatar'
2017-05-14 15:37:02,562 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 5
2017-05-14 15:37:02,581 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/user/profile/avatar' >> (UserProfileModule.java:98).uploadAvatar : void | @Ok(>>:/user/profile) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-05-14 15:37:02,582 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) INFO - Found 16 module methods
2017-05-14 15:37:02,582 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:306) DEBUG - Localization: org.nutz.mvc.impl.NutMessageLoader('msg/') dft
2017-05-14 15:37:02,587 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( msg/ ) , regex( ^.+[.]properties$ )
2017-05-14 15:37:02,599 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) DEBUG - Load Messages in 1 resource : [[NutResource[zh-CN/user.properties]]]
2017-05-14 15:37:02,603 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) DEBUG - Message Loaded, size = 2
2017-05-14 15:37:02,606 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274) INFO - Setup application...
2017-05-14 15:37:02,607 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2017-05-14 15:37:02,611 org.nutz.ioc.aop.SimpleAopMaker.(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-05-14 15:37:02,612 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=dao
2017-05-14 15:37:02,614 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2017-05-14 15:37:02,622 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-05-14 15:37:02,623 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'dao'<interface org.nutz.dao.Dao>
2017-05-14 15:37:02,645 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2017-05-14 15:37:02,647 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app]
2017-05-14 15:37:02,652 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-05-14 15:37:02,654 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=dataSource
2017-05-14 15:37:02,655 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2017-05-14 15:37:02,668 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-05-14 15:37:02,669 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'dataSource'<>
2017-05-14 15:37:02,725 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-05-14 15:37:02,725 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app]
2017-05-14 15:37:02,730 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-05-14 15:37:02,731 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=conf
2017-05-14 15:37:02,731 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2017-05-14 15:37:02,731 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(conf) in JsonLoader(paths=[ioc/])
2017-05-14 15:37:02,731 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'conf'<>
2017-05-14 15:37:02,733 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2017-05-14 15:37:02,733 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'conf' to [app]
2017-05-14 15:37:02,741 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 3 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2017-05-14 15:37:02,898 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:715) INFO - {dataSource-1} inited
2017-05-14 15:37:02,899 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-05-14 15:37:02,950 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: /Users/morongjun/.nutz/tmp/dao/ [200000]
2017-05-14 15:37:02,951 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: '/Users/morongjun/.nutz/tmp/dao'
2017-05-14 15:37:02,951 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 0
2017-05-14 15:37:02,968 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:90) DEBUG - Jdbcs init complete
2017-05-14 15:37:02,969 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017-05-14 15:37:03,388 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) DEBUG - select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2017-05-14 15:37:03,396 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) DEBUG - JDBC Driver --> mysql-connector-java-5.1.40 ( Revision: 402933ef52cad9aa82624e80acbea46e3a701ce6 )
2017-05-14 15:37:03,397 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) DEBUG - JDBC Name --> MySQL Connector Java
2017-05-14 15:37:03,397 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) DEBUG - JDBC URL --> jdbc:mysql:///books
2017-05-14 15:37:03,515 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_client=latin1
2017-05-14 15:37:03,516 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_connection=latin1
2017-05-14 15:37:03,516 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_database=utf8
2017-05-14 15:37:03,516 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_filesystem=binary
2017-05-14 15:37:03,517 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_results=
2017-05-14 15:37:03,517 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_server=latin1
2017-05-14 15:37:03,518 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_set_system=utf8
2017-05-14 15:37:03,518 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:212) DEBUG - Mysql : character_sets_dir=/usr/local/mysql-5.6.35-macos10.12-x86_64/share/charsets/
2017-05-14 15:37:03,521 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:219) DEBUG - Mysql : binlog_format=STATEMENT
2017-05-14 15:37:03,523 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:226) DEBUG - Mysql : database=books
2017-05-14 15:37:03,524 org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert.checkDataSource(MysqlJdbcExpert.java:232) DEBUG - Mysql : user=root@localhost
2017-05-14 15:37:03,569 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) DEBUG - Database info --> MYSQL:[MySQL - 5.6.35]
2017-05-14 15:37:03,583 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 13 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2017-05-14 15:37:03,715 org.nutz.dao.util.Daos.getColumnIndex(Daos.java:127) INFO - Can not find @Column(createTime) in table/view (t_user)
2017-05-14 15:37:03,745 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT COUNT(*) FROM t_user
2017-05-14 15:37:03,748 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2017-05-14 15:37:03,748 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=nutQuartzCronJobFactory
2017-05-14 15:37:03,749 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=nutQuartzCronJobFactory
2017-05-14 15:37:03,749 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(nutQuartzCronJobFactory) in QuartzIocLoader@999422389
2017-05-14 15:37:03,750 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2017-05-14 15:37:03,751 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2017-05-14 15:37:03,752 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'nutQuartzCronJobFactory' to [app]
2017-05-14 15:37:03,754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'scheduler'<>
2017-05-14 15:37:03,754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=scheduler
2017-05-14 15:37:03,755 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2017-05-14 15:37:03,756 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(scheduler) in QuartzIocLoader@999422389
2017-05-14 15:37:03,760 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'scheduler'<>
2017-05-14 15:37:03,762 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'scheduler' to [app]
2017-05-14 15:37:03,835 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1175) INFO - Using default implementation for ThreadExecutor
2017-05-14 15:37:03,865 org.quartz.core.SchedulerSignalerImpl.(SchedulerSignalerImpl.java:61) INFO - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2017-05-14 15:37:03,865 org.quartz.core.QuartzScheduler.(QuartzScheduler.java:243) INFO - Quartz Scheduler v.2.1.7 created.
2017-05-14 15:37:03,868 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:154) INFO - RAMJobStore initialized.
2017-05-14 15:37:03,869 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:268) INFO - Scheduler meta-data: Quartz Scheduler (v2.1.7) 'NutzbookScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2017-05-14 15:37:03,869 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1324) INFO - Quartz scheduler 'NutzbookScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2017-05-14 15:37:03,870 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1328) INFO - Quartz scheduler version: 2.1.7
2017-05-14 15:37:03,870 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'jobFactory'<>
2017-05-14 15:37:03,870 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=jobFactory
2017-05-14 15:37:03,871 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=jobFactory
2017-05-14 15:37:03,872 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(jobFactory) in QuartzIocLoader@999422389
2017-05-14 15:37:03,872 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'jobFactory'<>
2017-05-14 15:37:03,875 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
2017-05-14 15:37:03,875 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'jobFactory' to [app]
2017-05-14 15:37:03,876 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2247) INFO - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@5e621ef8
2017-05-14 15:37:03,877 org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:534) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED started.
2017-05-14 15:37:03,877 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:268) DEBUG - batch acquisition of 0 triggers
2017-05-14 15:37:03,878 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-05-14 15:37:03,878 org.nutz.integration.quartz.NutQuartzCronJobFactory.init(NutQuartzCronJobFactory.java:35) DEBUG - job define name=net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java cron=0 0/2 * * * ?
2017-05-14 15:37:03,880 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) DEBUG - Remove object 'nutQuartzCronJobFactory' from [app]
2017-05-14 15:37:03,882 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: [nutQuartzCronJobFactory] # FAIL to create Ioc Bean name=[nutQuartzCronJobFactory]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
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:41)
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.(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:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1863)
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:301)
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:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
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:301)
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:346)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java
at org.nutz.lang.Lang.wrapThrow(Lang.java:181)
at org.nutz.lang.Lang.wrapThrow(Lang.java:180)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:72)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
... 57 more
Caused by: java.lang.ClassNotFoundException: net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
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.integration.quartz.NutQuartzCronJobFactory.init(NutQuartzCronJobFactory.java:38)
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.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 59 more
2017-05-14 15:37:03,887 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) ERROR - try to depose ioc
2017-05-14 15:37:03,894 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) INFO - org.nutz.ioc.impl.NutIoc@535410969 is closing. startup date [17-05-14 15:37:02.189]
2017-05-14 15:37:03,895 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) DEBUG - Depose object 'jobFactory' ...
2017-05-14 15:37:03,895 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) DEBUG - Depose object 'scheduler' ...
2017-05-14 15:37:03,895 org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:653) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED shutting down.
2017-05-14 15:37:03,896 org.quartz.core.QuartzScheduler.standby(QuartzScheduler.java:572) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED paused.
2017-05-14 15:37:03,897 org.quartz.simpl.SimpleThreadPool.shutdown(SimpleThreadPool.java:327) DEBUG - Shutting down threadpool...
2017-05-14 15:37:03,897 org.quartz.simpl.SimpleThreadPool.shutdown(SimpleThreadPool.java:381) DEBUG - Shutdown of threadpool complete.
2017-05-14 15:37:03,898 org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:725) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED shutdown complete.
2017-05-14 15:37:03,898 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) DEBUG - Depose object 'conf' ...
2017-05-14 15:37:03,899 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:108) DEBUG - Depose object 'dao' ...
2017-05-14 15:37:03,900 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:113) DEBUG - Depose object 'dataSource' ...
2017-05-14 15:37:03,908 com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1444) INFO - {dataSource-1} closed
2017-05-14 15:37:03,908 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) INFO - org.nutz.ioc.impl.NutIoc@535410969 is deposed. startup date [17-05-14 15:37:02.189]
五月 14, 2017 3:37:03 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
五月 14, 2017 3:37:03 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
五月 14, 2017 3:37:03 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 14, 2017 3:37:03 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
严重: The web application [] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2017-05-14 03:37:03,998] Artifact nutz:war exploded: Error during artifact deployment. See server log for details.
2017-05-14 15:37:04,347 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:596) DEBUG - WorkerThread is shut down.
2017-05-14 15:37:04,347 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:596) DEBUG - WorkerThread is shut down.
2017-05-14 15:37:04,347 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:596) DEBUG - WorkerThread is shut down.
五月 14, 2017 3:37:08 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /usr/local/tomcat7/webapps/manager
五月 14, 2017 3:37:08 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /usr/local/tomcat7/webapps/manager has finished in 124 ms

多了个.java

Caused by: java.lang.ClassNotFoundException: net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob.java
cron.net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob=0 0/2 * * * ?

还是不行

clean non-active user

cron.net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob=0 0/2 * * * ?
cron.pkgs=net.wendal.nutzbook.quartz.job

clean non-active user

cron.net.wendal.nutzbook.quartz.job.CleanNonActiveUserJob=0 0/2 * * * ?
cron.pkgs=net.wendal.nutzbook.quartz.job

错误应该是这一段了
org.nutz.ioc.IocException: [nutQuartzCronJobFactory] # FAIL to create Ioc Bean name=[nutQuartzCronJobFactory]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
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:41)
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.(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:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1863)
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:301)
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:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
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:301)
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:346)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: org.quartz.JobBuilder.setJobData(Lorg/quartz/JobDataMap;)Lorg/quartz/JobBuilder;
at org.nutz.lang.Lang.wrapThrow(Lang.java:181)
at org.nutz.lang.Lang.wrapThrow(Lang.java:180)
at org.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:72)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
... 57 more
Caused by: java.lang.NoSuchMethodError: org.quartz.JobBuilder.setJobData(Lorg/quartz/JobDataMap;)Lorg/quartz/JobBuilder;
at org.nutz.integration.quartz.Quartzs.makeJob(Quartzs.java:85)
at org.nutz.integration.quartz.Quartzs.makeJob(Quartzs.java:78)
at org.nutz.integration.quartz.Quartzs.cron(Quartzs.java:27)
at org.nutz.integration.quartz.NutQuartzCronJobFactory.init(NutQuartzCronJobFactory.java:42)
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.nutz.ioc.trigger.MethodEventTrigger.trigger(MethodEventTrigger.java:18)
... 59 more

鲁总,找到问题了,是引入的jar包不对

quartz版本太低,用最新版

Caused by: java.lang.NoSuchMethodError: org.quartz.JobBuilder.setJobData(Lorg/quartz/JobDataMap;)Lorg/quartz/JobBuilder;
添加回复
请先登陆
回到顶部