NutzCN Logo
问答 nutz集成quartz,启动报错
发布于 2474天前 作者 xianghongwu 2450 次浏览 复制 上一个帖子 下一个帖子
标签:

这是日志信息

三月 15, 2018 1:55:08 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Java/jdk1.8/bin/../jre/bin/server;C:/Java/jdk1.8/bin/../jre/bin;C:/Java/jdk1.8/bin/../jre/lib/amd64;C:\Java\jdk1.8\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;E:\apache-maven-3.5.2\bin;C:\Users\jcode\AppData\Local\Microsoft\WindowsApps;;C:\Java\eclipse;;.
三月 15, 2018 1:55:08 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:NutzBook' did not find a matching property.
三月 15, 2018 1:55:08 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 15, 2018 1:55:08 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
三月 15, 2018 1:55:08 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 489 ms
三月 15, 2018 1:55:08 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 15, 2018 1:55:08 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.37
log4j:WARN No such property [maxfilesize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxbackupindex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxfilesize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxbackupindex] in org.apache.log4j.DailyRollingFileAppender.
2018-03-15 13:55:10,749 [          NutFilter.java:85  :INFO ][] -NutFilter[nutz] starting ...
2018-03-15 13:55:10,769 [              Scans.java:527 :DEBUG][] -Locations count=5 time use 9ms
2018-03-15 13:55:10,818 [              Scans.java:527 :DEBUG][] -Locations count=13 time use 48ms
2018-03-15 13:55:10,830 [  AbstractNutConfig.java:66  :DEBUG][] -Loading by class org.nutz.mvc.impl.NutLoading
2018-03-15 13:55:10,834 [         NutLoading.java:55  :INFO ][] -Nutz Version : 1.r.65 
2018-03-15 13:55:10,835 [         NutLoading.java:56  :INFO ][] -Nutz.Mvc[nutz] is initializing ...
2018-03-15 13:55:10,835 [         NutLoading.java:60  :DEBUG][] -Web Container Information:
2018-03-15 13:55:10,836 [         NutLoading.java:61  :DEBUG][] - - Default Charset : UTF-8
2018-03-15 13:55:10,837 [         NutLoading.java:62  :DEBUG][] - - Current . path  : C:\Java\eclipse\.
2018-03-15 13:55:10,837 [         NutLoading.java:63  :DEBUG][] - - Java Version    : 1.8.0_91
2018-03-15 13:55:10,837 [         NutLoading.java:64  :DEBUG][] - - File separator  : \
2018-03-15 13:55:10,837 [         NutLoading.java:65  :DEBUG][] - - Timezone        : Asia/Shanghai
2018-03-15 13:55:10,837 [         NutLoading.java:66  :DEBUG][] - - OS              : Windows 10 amd64
2018-03-15 13:55:10,838 [         NutLoading.java:67  :DEBUG][] - - ServerInfo      : Apache Tomcat/7.0.37
2018-03-15 13:55:10,838 [         NutLoading.java:68  :DEBUG][] - - Servlet API     : 3.0
2018-03-15 13:55:10,838 [         NutLoading.java:73  :DEBUG][] - - ContextPath     : /NutzBook
2018-03-15 13:55:10,840 [         NutLoading.java:74  :DEBUG][] - - context.tempdir : E:\jcode\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\NutzBook
2018-03-15 13:55:10,840 [         NutLoading.java:75  :DEBUG][] - - MainModule      : test.wendal.quartzdemo.MainModule
2018-03-15 13:55:10,841 [         NutLoading.java:239 :DEBUG][] ->> app.root = E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook
2018-03-15 13:55:10,886 [            Castors.java:115 :DEBUG][] -Using 95 castor for Castors
2018-03-15 13:55:10,887 [         NutLoading.java:379 :DEBUG][] -@IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.wendal.quartzdemo", "*tx", "*async", "*quartz"],init=[])
2018-03-15 13:55:10,914 [              Scans.java:280 :DEBUG][] -Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-03-15 13:55:10,914 [         JsonLoader.java:49  :DEBUG][] -loading [Dao.js]
2018-03-15 13:55:10,918 [         JsonLoader.java:57  :DEBUG][] -Loaded 1 bean define from path=[ioc/] --> [conf]
2018-03-15 13:55:10,922 [AnnotationIocLoader.java:50  :INFO ][] - > scan 'net.wendal.quartzdemo'
2018-03-15 13:55:10,924 [              Scans.java:280 :DEBUG][] -Found 0 resource by src( net/wendal/quartzdemo/ ) , regex( ^.+[.]class$ )
2018-03-15 13:55:10,925 [AnnotationIocLoader.java:55  :WARN ][] -NONE @IocBean found!! Check your ioc configure!! packages=[net.wendal.quartzdemo]
2018-03-15 13:55:10,939 [     SimpleAopMaker.java:79  :DEBUG][] -Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2018-03-15 13:55:10,943 [     ComboIocLoader.java:116 :DEBUG][] -found quartz -- org.nutz.integration.quartz.QuartzIocLoader
2018-03-15 13:55:10,945 [         JsonLoader.java:57  :DEBUG][] -Loaded 0 bean define from path=[] --> []
2018-03-15 13:55:10,951 [             NutIoc.java:129 :INFO ][] -... NutIoc init complete
2018-03-15 13:55:10,953 [         NutLoading.java:159 :INFO ][] -Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-03-15 13:55:10,955 [         NutLoading.java:369 :DEBUG][] -@Views(DefaultViewMaker.class)
2018-03-15 13:55:10,959 [         NutLoading.java:267 :DEBUG][] -@ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-03-15 13:55:10,967 [           Loadings.java:155 :DEBUG][] -module class location 'file:/E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook/WEB-INF/classes/test/wendal/quartzdemo/MainModule.class'
2018-03-15 13:55:10,968 [           Loadings.java:185 :DEBUG][] - > scan 'test.wendal.quartzdemo'
2018-03-15 13:55:10,970 [              Scans.java:280 :DEBUG][] -Found 2 resource by src( test/wendal/quartzdemo/ ) , regex( ^.+[.]class$ )
2018-03-15 13:55:10,972 [         NutLoading.java:188 :WARN ][] -None module classes found!!!
2018-03-15 13:55:10,972 [         NutLoading.java:196 :DEBUG][] -Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
2018-03-15 13:55:10,972 [         NutLoading.java:219 :WARN ][] -None @At found in any modules class!!
2018-03-15 13:55:10,973 [         NutLoading.java:335 :DEBUG][] -@Localization not define
2018-03-15 13:55:10,974 [         NutLoading.java:275 :INFO ][] -Setup application...
2018-03-15 13:55:10,977 [             NutIoc.java:165 :DEBUG][] -Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-03-15 13:55:10,978 [             NutIoc.java:165 :DEBUG][] -Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2018-03-15 13:55:10,980 [             NutIoc.java:191 :DEBUG][] -	 >> Load definition name=$aop_async
2018-03-15 13:55:10,983 [     ComboIocLoader.java:226 :DEBUG][] -Found IocObject($aop_async) in AsyncAopIocLoader@292515889
2018-03-15 13:55:10,983 [             NutIoc.java:222 :DEBUG][] -	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2018-03-15 13:55:11,002 [       ScopeContext.java:64  :DEBUG][] -Save object '$aop_async' to [app] 
2018-03-15 13:55:11,008 [     SimpleAopMaker.java:79  :DEBUG][] -Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2018-03-15 13:55:11,008 [             NutIoc.java:191 :DEBUG][] -	 >> Load definition name=nutQuartzCronJobFactory
2018-03-15 13:55:11,008 [     ComboIocLoader.java:226 :DEBUG][] -Found IocObject(nutQuartzCronJobFactory) in JsonLoader(paths=[])
2018-03-15 13:55:11,009 [             NutIoc.java:222 :DEBUG][] -	 >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-03-15 13:55:11,009 [       ScopeContext.java:64  :DEBUG][] -Save object 'nutQuartzCronJobFactory' to [app] 
2018-03-15 13:55:11,010 [DefaultMirrorFactory.java:76  :DEBUG][] -Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2018-03-15 13:55:11,018 [             NutIoc.java:165 :DEBUG][] -Get 'scheduler'<>
2018-03-15 13:55:11,019 [             NutIoc.java:191 :DEBUG][] -	 >> Load definition name=scheduler
2018-03-15 13:55:11,019 [     ComboIocLoader.java:226 :DEBUG][] -Found IocObject(scheduler) in JsonLoader(paths=[])
2018-03-15 13:55:11,020 [             NutIoc.java:222 :DEBUG][] -	 >> Make...'scheduler'<>
2018-03-15 13:55:11,020 [       ScopeContext.java:64  :DEBUG][] -Save object 'scheduler' to [app] 
2018-03-15 13:55:11,063 [StdSchedulerFactory.java:1175:INFO ][] -Using default implementation for ThreadExecutor
2018-03-15 13:55:11,079 [SchedulerSignalerImpl.java:61  :INFO ][] -Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2018-03-15 13:55:11,079 [    QuartzScheduler.java:243 :INFO ][] -Quartz Scheduler v.2.1.7 created.
2018-03-15 13:55:11,080 [        RAMJobStore.java:154 :INFO ][] -RAMJobStore initialized.
2018-03-15 13:55:11,081 [    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.

2018-03-15 13:55:11,082 [StdSchedulerFactory.java:1324:INFO ][] -Quartz scheduler 'NutzbookScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2018-03-15 13:55:11,082 [StdSchedulerFactory.java:1328:INFO ][] -Quartz scheduler version: 2.1.7
2018-03-15 13:55:11,083 [             NutIoc.java:165 :DEBUG][] -Get 'jobFactory'<>
2018-03-15 13:55:11,083 [             NutIoc.java:191 :DEBUG][] -	 >> Load definition name=jobFactory
2018-03-15 13:55:11,083 [     ComboIocLoader.java:226 :DEBUG][] -Found IocObject(jobFactory) in JsonLoader(paths=[])
2018-03-15 13:55:11,083 [             NutIoc.java:222 :DEBUG][] -	 >> Make...'jobFactory'<>
2018-03-15 13:55:11,084 [       ScopeContext.java:64  :DEBUG][] -Save object 'jobFactory' to [app] 
2018-03-15 13:55:11,085 [DefaultMirrorFactory.java:76  :DEBUG][] -Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
2018-03-15 13:55:11,105 [    QuartzScheduler.java:2247:INFO ][] -JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@7d294844
2018-03-15 13:55:11,123 [    QuartzScheduler.java:534 :INFO ][] -Scheduler NutzbookScheduler_$_NON_CLUSTERED started.
2018-03-15 13:55:11,123 [QuartzSchedulerThread.java:268 :DEBUG][] -batch acquisition of 0 triggers
2018-03-15 13:55:11,123 [             NutIoc.java:165 :DEBUG][] -Get 'conf'<>
2018-03-15 13:55:11,124 [             NutIoc.java:191 :DEBUG][] -	 >> Load definition name=conf
2018-03-15 13:55:11,124 [     ComboIocLoader.java:226 :DEBUG][] -Found IocObject(conf) in JsonLoader(paths=[ioc/])
2018-03-15 13:55:11,124 [             NutIoc.java:222 :DEBUG][] -	 >> Make...'conf'<>
2018-03-15 13:55:11,124 [       ScopeContext.java:64  :DEBUG][] -Save object 'conf' to [app] 
2018-03-15 13:55:11,125 [DefaultMirrorFactory.java:76  :DEBUG][] -Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2018-03-15 13:55:11,147 [              Scans.java:280 :DEBUG][] -Found 1 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2018-03-15 13:55:11,147 [    PropertiesProxy.java:114 :DEBUG][] -load properties from File[E:\jcode\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\classes\custom\cron.properties]
2018-03-15 13:55:11,148 [NutQuartzCronJobFactory.java:35  :DEBUG][] -job define name=test.job.SayhiJob cron=0 * * * * ?
2018-03-15 13:55:11,155 [       ScopeContext.java:84  :DEBUG][] -Remove object 'nutQuartzCronJobFactory' from [app] 
2018-03-15 13:55:11,156 [         NutLoading.java:125 :ERROR][] -Error happend during start serivce!
org.nutz.ioc.IocException: IocBean[nutQuartzCronJobFactory] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:160)
	at test.wendal.quartzdemo.MainSetup.init(MainSetup.java:17)
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
	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:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
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 org.nutz.integration.quartz.NutQuartzCronJobFactory$FM$init$62febe830a4a6764c634d9e263964cee.invoke(NutQuartzCronJobFactory.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 21 more
2018-03-15 13:55:11,158 [         NutLoading.java:127 :ERROR][] -try to depose ioc
2018-03-15 13:55:11,160 [             NutIoc.java:286 :INFO ][] -org.nutz.ioc.impl.NutIoc@1817614447 is closing. startup date [18-03-15 13:55:10.949]
2018-03-15 13:55:11,161 [       ScopeContext.java:108 :DEBUG][] -Depose object 'conf' ...
2018-03-15 13:55:11,161 [       ScopeContext.java:108 :DEBUG][] -Depose object 'jobFactory' ...
2018-03-15 13:55:11,161 [       ScopeContext.java:108 :DEBUG][] -Depose object 'scheduler' ...
2018-03-15 13:55:11,161 [    QuartzScheduler.java:653 :INFO ][] -Scheduler NutzbookScheduler_$_NON_CLUSTERED shutting down.
2018-03-15 13:55:11,162 [    QuartzScheduler.java:572 :INFO ][] -Scheduler NutzbookScheduler_$_NON_CLUSTERED paused.
2018-03-15 13:55:11,162 [   SimpleThreadPool.java:327 :DEBUG][] -Shutting down threadpool...
2018-03-15 13:55:11,162 [   SimpleThreadPool.java:381 :DEBUG][] -Shutdown of threadpool complete.
2018-03-15 13:55:11,162 [    QuartzScheduler.java:725 :INFO ][] -Scheduler NutzbookScheduler_$_NON_CLUSTERED shutdown complete.
2018-03-15 13:55:11,162 [       ScopeContext.java:108 :DEBUG][] -Depose object '$aop_async' ...
2018-03-15 13:55:11,163 [             NutIoc.java:300 :INFO ][] -org.nutz.ioc.impl.NutIoc@1817614447 is deposed. startup date [18-03-15 13:55:10.949]
三月 15, 2018 1:55:11 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[nutQuartzCronJobFactory] throw Exception when creating
	at org.nutz.mvc.LoadingException$FC$9a86caf9ff5d3b587784fcdf555a4a7d.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:201)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: IocBean[nutQuartzCronJobFactory] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:240)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:270)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:160)
	at test.wendal.quartzdemo.MainSetup.init(MainSetup.java:17)
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	... 15 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 org.nutz.integration.quartz.NutQuartzCronJobFactory$FM$init$62febe830a4a6764c634d9e263964cee.invoke(NutQuartzCronJobFactory.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 21 more

三月 15, 2018 1:55:11 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
三月 15, 2018 1:55:11 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/NutzBook] startup failed due to previous errors
三月 15, 2018 1:55:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/NutzBook] appears to have started a thread named [NutzbookScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
三月 15, 2018 1:55:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/NutzBook] appears to have started a thread named [NutzbookScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
三月 15, 2018 1:55:11 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/NutzBook] appears to have started a thread named [NutzbookScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
三月 15, 2018 1:55:11 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
三月 15, 2018 1:55:11 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
三月 15, 2018 1:55:11 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2391 ms
2018-03-15 13:55:11,568 [   SimpleThreadPool.java:596 :DEBUG][] -WorkerThread is shut down.
2018-03-15 13:55:11,568 [   SimpleThreadPool.java:596 :DEBUG][] -WorkerThread is shut down.
2018-03-15 13:55:11,568 [   SimpleThreadPool.java:596 :DEBUG][] -WorkerThread is shut down.

13 回复

我想先问一下, 为啥你选这个quartz版本号

这个不行吗?我看到你说的只要2.x以上就可以都嘛。然后就选了一个现有的

我哪里说这句的, 给我个链接... 我改改去

https://github.com/nutzam/nutzmore/tree/master/nutz-integration-quartz
添加quartz的jar, 支持2.x版本,建议用最新版
在src或maven的resources目录下添加一个 quartz.properties
在MainModule的IocBy中引用QuartzIocLoader
在需要使用quartz的类中引用Scheduler即可

ok, 那你换成最新吧

恩恩,知道了,谢谢。现在可以了

提交了,改成2.2.1或以上

我想再问一下,那个nutz的版本最低支持多少的我如果使用nutz-1.b.50.x.jar这个版本可以不?

应该可以吧,你试一下呗...

用这个版本会报错。
三月 15, 2018 3:16:34 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Java/jdk1.8/bin/../jre/bin/server;C:/Java/jdk1.8/bin/../jre/bin;C:/Java/jdk1.8/bin/../jre/lib/amd64;C:\Java\jdk1.8\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;E:\apache-maven-3.5.2\bin;C:\Users\jcode\AppData\Local\Microsoft\WindowsApps;;C:\Java\eclipse;;.
三月 15, 2018 3:16:34 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:NutzBook' did not find a matching property.
三月 15, 2018 3:16:35 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 15, 2018 3:16:35 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8029"]
三月 15, 2018 3:16:35 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 943 ms
三月 15, 2018 3:16:35 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 15, 2018 3:16:35 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.37
ALL Nutz Log via Log4jLogAdapter
log4j:WARN No such property [maxfilesize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxbackupindex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxfilesize] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxbackupindex] in org.apache.log4j.DailyRollingFileAppender.
2018-03-15 15:16:38,115 [ Logs.java:20 :INFO ][] -Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2018-03-15 15:16:38,122 [ NutFilter.java:50 :INFO ][] -NutFilter[nutz] starting ...
2018-03-15 15:16:38,321 [ Scans.java:476 :DEBUG][] -Locations for Scans:
[JarResourceLocation [jarPath=F:\tools\apache-tomcat-7.0.37-windows-x64\apache-tomcat-7.0.37\bin\tomcat-juli.jar], FileSystemResourceLocation [root=C:\Java\eclipse], JarResourceLocation [jarPath=file:/E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook/WEB-INF/lib/nutz-1.b.50.x.jar], FileSystemResourceLocation [root=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\classes], JarResourceLocation [jarPath=C:\Java\jdk1.8\lib\tools.jar], JarResourceLocation [jarPath=F:\tools\apache-tomcat-7.0.37-windows-x64\apache-tomcat-7.0.37\bin\bootstrap.jar]]
2018-03-15 15:16:38,473 [ Scans.java:75 :DEBUG][] -Locations for Scans:
[JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\mysql-connector-java-5.1.7-bin.jar], JarResourceLocation [jarPath=F:\tools\apache-tomcat-7.0.37-windows-x64\apache-tomcat-7.0.37\bin\tomcat-juli.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\quartz-2.3.0.jar], FileSystemResourceLocation [root=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\classes], JarResourceLocation [jarPath=C:\Java\jdk1.8\lib\tools.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\nutz-integration-quartz-1.r.63.r3.jar], JarResourceLocation [jarPath=F:\tools\apache-tomcat-7.0.37-windows-x64\apache-tomcat-7.0.37\bin\bootstrap.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\slf4j-api-1.7.21.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\log4j-1.2.16.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\slf4j-log4j12-1.7.21.jar], FileSystemResourceLocation [root=C:\Java\eclipse], JarResourceLocation [jarPath=file:/E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook/WEB-INF/lib/nutz-1.b.50.x.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\nutz-1.b.50.x.jar], JarResourceLocation [jarPath=E:\jcode\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\NutzBook\WEB-INF\lib\druid-1.0.26.jar]]
2018-03-15 15:16:38,480 [ AbstractNutConfig.java:119 :DEBUG][] -MainModule: <test.wendal.quartzdemo.MainModule>
2018-03-15 15:16:38,499 [ AbstractNutConfig.java:55 :DEBUG][] -Loading by class org.nutz.mvc.impl.NutLoading
2018-03-15 15:16:38,509 [ NutLoading.java:52 :INFO ][] -Nutz Version : 1.b.50
2018-03-15 15:16:38,511 [ NutLoading.java:53 :INFO ][] -Nutz.Mvc[nutz] is initializing ...
2018-03-15 15:16:38,512 [ NutLoading.java:57 :DEBUG][] -Web Container Information:
2018-03-15 15:16:38,513 [ NutLoading.java:58 :DEBUG][] - - Default Charset : UTF-8
2018-03-15 15:16:38,514 [ NutLoading.java:59 :DEBUG][] - - Current . path : C:\Java\eclipse.
2018-03-15 15:16:38,515 [ NutLoading.java:60 :DEBUG][] - - Java Version : 1.8.0_91
2018-03-15 15:16:38,515 [ NutLoading.java:61 :DEBUG][] - - File separator : \
2018-03-15 15:16:38,516 [ NutLoading.java:62 :DEBUG][] - - Timezone : Asia/Shanghai
2018-03-15 15:16:38,517 [ NutLoading.java:63 :DEBUG][] - - OS : Windows 10 amd64
2018-03-15 15:16:38,517 [ NutLoading.java:64 :DEBUG][] - - ServerInfo : Apache Tomcat/7.0.37
2018-03-15 15:16:38,524 [ NutLoading.java:66 :DEBUG][] - - ContextPath : /NutzBook
2018-03-15 15:16:38,527 [ AbstractNutConfig.java:119 :DEBUG][] -MainModule: <test.wendal.quartzdemo.MainModule>
2018-03-15 15:16:38,528 [ NutLoading.java:213 :DEBUG][] ->> app.root = E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook
2018-03-15 15:16:38,529 [ NutLoading.java:325 :DEBUG][] -@IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=[Ljava.lang.String;@70db05b)
2018-03-15 15:16:38,549 [ Scans.java:220 :DEBUG][] -Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-03-15 15:16:38,557 [ JsonLoader.java:48 :DEBUG][] -Loaded 1 bean define from path=[ioc/] --> [conf]
2018-03-15 15:16:38,564 [ Scans.java:220 :DEBUG][] -Found 4 resource by src( test/wendal/quartzdemo/ ) , regex( ^.+[.]class$ )
2018-03-15 15:16:38,571 [AnnotationIocLoader.java:70 :DEBUG][] -Found a Class with Ioc-Annotation : class test.wendal.quartzdemo.job.SayhiJob
2018-03-15 15:16:38,577 [AnnotationIocLoader.java:70 :DEBUG][] -Found a Class with Ioc-Annotation : class test.wendal.quartzdemo.job.SexyJob
2018-03-15 15:16:38,665 [ Castors.java:115 :DEBUG][] -Using 91 castor for Castors
2018-03-15 15:16:38,669 [AnnotationIocLoader.java:47 :INFO ][] -Scan complete ! Found 2 classes in 1 base-packages!
beans = ["sexyJob", "sayhiJob"]
2018-03-15 15:16:38,670 [ JsonLoader.java:48 :DEBUG][] -Loaded 0 bean define from path=[] --> []
2018-03-15 15:16:38,679 [ AbstractNutConfig.java:119 :DEBUG][] -MainModule: <test.wendal.quartzdemo.MainModule>
2018-03-15 15:16:38,682 [ NutLoading.java:139 :INFO ][] -Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-03-15 15:16:38,684 [ NutLoading.java:315 :DEBUG][] -@Views(DefaultViewMaker)
2018-03-15 15:16:38,693 [ NutLoading.java:241 :DEBUG][] -@ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-03-15 15:16:38,701 [ Loadings.java:98 :DEBUG][] -module class location 'file:/E:/jcode/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/NutzBook/WEB-INF/classes/test/wendal/quartzdemo/MainModule.class'
2018-03-15 15:16:38,702 [ Loadings.java:126 :DEBUG][] - > scan 'test.wendal.quartzdemo'
2018-03-15 15:16:38,705 [ Scans.java:220 :DEBUG][] -Found 4 resource by src( test/wendal/quartzdemo/ ) , regex( ^.+[.]class$ )
2018-03-15 15:16:38,706 [ NutLoading.java:164 :WARN ][] -None module classes found!!!
2018-03-15 15:16:38,707 [ NutLoading.java:197 :WARN ][] -None @At found in any modules class!!
2018-03-15 15:16:38,708 [ NutLoading.java:288 :DEBUG][] -@Localization not define
2018-03-15 15:16:38,709 [ NutLoading.java:249 :INFO ][] -Setup application...
2018-03-15 15:16:38,712 [ NutIoc.java:143 :DEBUG][] -Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-03-15 15:16:38,713 [ NutIoc.java:165 :DEBUG][] - >> Load definition
2018-03-15 15:16:38,715 [ MapLoader.java:67 :DEBUG][] -Loading define for name=nutQuartzCronJobFactory
2018-03-15 15:16:38,719 [ ComboIocLoader.java:120 :DEBUG][] -Found IocObject(nutQuartzCronJobFactory) in IocLoader(QuartzIocLoader@881061716)
2018-03-15 15:16:38,719 [ NutIoc.java:192 :DEBUG][] - >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2018-03-15 15:16:38,724 [DefaultMirrorFactory.java:57 :DEBUG][] -class org.nutz.integration.quartz.NutQuartzCronJobFactory , no config to enable AOP.
2018-03-15 15:16:38,726 [ ScopeContext.java:58 :DEBUG][] -Save object 'nutQuartzCronJobFactory' to [app]
2018-03-15 15:16:38,735 [ NutIoc.java:143 :DEBUG][] -Get 'scheduler'
2018-03-15 15:16:38,735 [ NutIoc.java:165 :DEBUG][] - >> Load definition
2018-03-15 15:16:38,735 [ MapLoader.java:67 :DEBUG][] -Loading define for name=scheduler
2018-03-15 15:16:38,743 [ IocLoading.java:51 :WARN ][] -Using Declared ioc-define (without type or events)!!! Pls use Standard Ioc-Define!! Bean will define as:
{
"singleton" :true,
"args" :[],
"fields" :[{
"name" :"type",
"value" :{
"type" :"normal",
"value" :"org.quartz.Scheduler"
}
}, {
"name" :"factory",
"value" :{
"type" :"normal",
"value" :"org.quartz.impl.StdSchedulerFactory#getDefaultScheduler"
}
}, {
"name" :"events",
"value" :{
"type" :"normal",
"value" :{
"create" :{
"type" :"normal",
"value" :"start"
},
"depose" :{
"type" :"normal",
"value" :"shutdown"
}
}
}
}, {
"name" :"fields",
"value" :{
"type" :"normal",
"value" :{
"jobFactory" :{
"type" :"refer",
"value" :"jobFactory"
}
}
}
}]
}
2018-03-15 15:16:38,744 [ ComboIocLoader.java:120 :DEBUG][] -Found IocObject(scheduler) in IocLoader(QuartzIocLoader@881061716)
2018-03-15 15:16:38,744 [ ScopeContext.java:77 :DEBUG][] -Remove object 'nutQuartzCronJobFactory' from [app]
2018-03-15 15:16:38,746 [ NutLoading.java:115 :ERROR][] -Error happend during start serivce!
org.nutz.ioc.IocException: NULL TYPE object 'scheduler'
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:182)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:193)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:211)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:138)
at test.wendal.quartzdemo.MainSetup.init(MainSetup.java:17)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:252)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:111)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
三月 15, 2018 3:16:38 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: NULL TYPE object 'scheduler'
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:16)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:968)
at org.nutz.lang.Lang.wrapThrow(Lang.java:165)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:116)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5309)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: NULL TYPE object 'scheduler'
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:182)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:96)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:193)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:211)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:138)
at test.wendal.quartzdemo.MainSetup.init(MainSetup.java:17)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:252)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:111)
... 14 more

三月 15, 2018 3:16:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
三月 15, 2018 3:16:38 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/NutzBook] startup failed due to previous errors
三月 15, 2018 3:16:38 下午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/NutzBook] created a ThreadLocal with key of type [org.nutz.mvc.NutMvcContext$1] (value [org.nutz.mvc.NutMvcContext$1@2dd6db2b]) and a value of type [org.nutz.lang.util.SimpleContext] (value [{
}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
三月 15, 2018 3:16:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
三月 15, 2018 3:16:38 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8029"]
三月 15, 2018 3:16:38 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3653 ms

哦, 看来不支持

好像是因为老版本不支持quartz里面的factory

开始我一直用的低版本,一直报一些奇葩的错误。现在换高版本就好了

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