NutzCN Logo
问答 求教,nutzbook 7.7 加入quartz 无法继续下去了
发布于 2330天前 作者 qq_d913f5f5 1264 次浏览 复制 上一个帖子 下一个帖子
标签:

我的环境如下:
windows7,nutz 1.r.54,
1_png

现在按照nutzbook来一步一步走,在这一步无法进行下去了,求助各位,是不是什么地方没整好。谢谢各位!!
以下是日志:

2016-02-10 20:08:48,932 org.nutz.log.Logs.(Logs.java:20) INFO - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2016-02-10 20:08:48,937 org.nutz.mvc.NutFilter.init(NutFilter.java:72) INFO - NutFilter[mainFilter] starting ...
2016-02-10 20:08:49,036 org.nutz.resource.Scans.(Scans.java:486) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=E:\App\DevTools\apache-tomcat-8.0.20\bin\tomcat-juli.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\nutz-1.r.54.jar], JarResourceLocation [jarPath=E:\App\DevTools\apache-tomcat-8.0.20\bin\bootstrap.jar], FileSystemResourceLocation [root=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\classes], FileSystemResourceLocation [root=E:\App\DevTools\apache-tomcat-8.0.20\bin]]
2016-02-10 20:08:49,382 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\log4j-1.2.17.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\nutz-integration-quartz-1.b.53.r3.jar], JarResourceLocation [jarPath=E:\App\DevTools\apache-tomcat-8.0.20\bin\bootstrap.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\simplecaptcha-1.2.2.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\mysql-connector-java-5.1.36.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\nutz-integration-shiro-1.b.53.r2.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\commons-email-1.4.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\slf4j-api-1.6.4.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\activation-1.1.1.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\shiro-quartz-1.2.4.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\commons-logging-1.1.1.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\shiro-web-1.2.4.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\shiro-core-1.2.4.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\nutz-1.r.54.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\javax.mail-api-1.5.5.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\c3p0-0.9.1.1.jar], FileSystemResourceLocation [root=E:\App\DevTools\apache-tomcat-8.0.20\bin], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\druid-1.0.16.jar], JarResourceLocation [jarPath=E:\App\DevTools\apache-tomcat-8.0.20\bin\tomcat-juli.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\commons-beanutils-1.8.3.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\quartz-jobs-2.2.2.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\quartz-2.2.2.jar], FileSystemResourceLocation [root=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\classes], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\quartz-1.6.1.jar], JarResourceLocation [jarPath=E:\work_space\IdeaProjects\nutzbook\target\nutzbook-1.0-SNAPSHOT\WEB-INF\lib\slf4j-log4j12-1.6.4.jar]]
2016-02-10 20:08:49,387 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: <com.yjh.MainModule>
2016-02-10 20:08:49,416 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:50) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2016-02-10 20:08:49,420 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.54
2016-02-10 20:08:49,420 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[mainFilter] is initializing ...
2016-02-10 20:08:49,420 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2016-02-10 20:08:49,422 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : UTF-8
2016-02-10 20:08:49,423 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : E:\App\DevTools\apache-tomcat-8.0.20\bin.
2016-02-10 20:08:49,423 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.8.0_72
2016-02-10 20:08:49,423 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : \
2016-02-10 20:08:49,423 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2016-02-10 20:08:49,425 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Windows 7 amd64
2016-02-10 20:08:49,425 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/8.0.20
2016-02-10 20:08:49,425 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 3.1
2016-02-10 20:08:49,426 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /nutzbook
2016-02-10 20:08:49,427 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: <com.yjh.MainModule>
2016-02-10 20:08:49,430 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:231) DEBUG - >> app.root = E:/work_space/IdeaProjects/nutzbook/target/nutzbook-1.0-SNAPSHOT
2016-02-10 20:08:49,510 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 94 castor for Castors
2016-02-10 20:08:49,515 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:368) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.yjh", "*tx", "*org.nutz.integration.quartz.QuartzIocLoader"],init=[])
2016-02-10 20:08:49,532 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-02-10 20:08:49,532 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:44) DEBUG - loading ioc js config from [dao.js]
2016-02-10 20:08:49,536 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:52) DEBUG - Loaded 3 bean define from path=[ioc/] --> [conf, dao, dataSource]
2016-02-10 20:08:49,541 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 8 resource by src( com/yjh/ ) , regex( ^.+[.]class$ )
2016-02-10 20:08:49,559 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found : class com.yjh.module.UserModule
2016-02-10 20:08:49,579 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:48) INFO - Found 1 classes in 1 base-packages!
beans = ["userModule"]
2016-02-10 20:08:49,582 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:36) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2016-02-10 20:08:49,583 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:52) DEBUG - Loaded 0 bean define from path=[] --> []
2016-02-10 20:08:49,589 org.nutz.ioc.impl.NutIoc.(NutIoc.java:96) INFO - NutIoc init begin ...
2016-02-10 20:08:49,592 org.nutz.ioc.impl.NutIoc.(NutIoc.java:113) INFO - ... NutIoc init complete
2016-02-10 20:08:49,593 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: <com.yjh.MainModule>
2016-02-10 20:08:49,598 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:157) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-02-10 20:08:49,602 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:358) DEBUG - @Views(DefaultViewMaker)
2016-02-10 20:08:49,612 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:259) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-02-10 20:08:49,621 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/E:/work_space/IdeaProjects/nutzbook/target/nutzbook-1.0-SNAPSHOT/WEB-INF/classes/com/yjh/MainModule.class'
2016-02-10 20:08:49,622 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG - > scan 'com.yjh'
2016-02-10 20:08:49,625 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 8 resource by src( com/yjh/ ) , regex( ^.+[.]class$ )
2016-02-10 20:08:49,626 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.yjh.module.UserModule'
2016-02-10 20:08:49,657 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:73) INFO - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-02-10 20:08:49,681 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/count' >> UserModule.count(...) : int | @Ok(json:{locked:'password',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,691 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/query' >> UserModule.query(...) : Object | @Ok(json:{locked:'password',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,697 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/getsession' >> UserModule.getSession(...) : Object | @Ok(json:{locked:'password',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,699 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/login' >> UserModule.login(...) : Object | @Ok(json:{locked:'password',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,703 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/logout' >> UserModule.logout(...) : void | @Ok(>>:/ ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,705 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/user/initpwd' >> UserModule.initPwd(...) : Object | @Ok(json:{locked:'password',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-02-10 20:08:49,705 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:217) INFO - Found 6 module methods
2016-02-10 20:08:49,706 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:295) DEBUG - Localization: org.nutz.mvc.impl.NutMessageLoader('i18n/') dft
2016-02-10 20:08:49,711 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 2 resource by src( i18n/ ) , regex( ^.+[.]properties$ )
2016-02-10 20:08:49,711 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) DEBUG - Load Messages in 2 resource : [[NutResource[en-US/user.properties], NutResource[zh-CN/user.properties]]]
2016-02-10 20:08:49,714 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) DEBUG - Message Loaded, size = 3
2016-02-10 20:08:49,716 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:267) INFO - Setup application...
2016-02-10 20:08:49,716 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2016-02-10 20:08:49,718 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) DEBUG - >> Load definition
2016-02-10 20:08:49,720 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-02-10 20:08:49,726 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@946905211)
2016-02-10 20:08:49,727 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) DEBUG - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-02-10 20:08:49,741 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2016-02-10 20:08:49,742 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app]
2016-02-10 20:08:49,746 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'dataSource'<>
2016-02-10 20:08:49,746 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) DEBUG - >> Load definition
2016-02-10 20:08:49,746 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-02-10 20:08:49,753 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@946905211)
2016-02-10 20:08:49,753 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) DEBUG - >> Make...'dataSource'<>
2016-02-10 20:08:49,782 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2016-02-10 20:08:49,782 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-02-10 20:08:49,803 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'conf'<>
2016-02-10 20:08:49,803 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) DEBUG - >> Load definition
2016-02-10 20:08:49,803 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2016-02-10 20:08:49,805 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(conf) in IocLoader(JsonLoader@946905211)
2016-02-10 20:08:49,806 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) DEBUG - >> Make...'conf'<>
2016-02-10 20:08:49,807 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2016-02-10 20:08:49,808 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'conf' to [app]
2016-02-10 20:08:49,813 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 1 resource by src( db.properties ) , regex( ^.+[.]properties$ )
2016-02-10 20:08:49,818 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'conf'<>
2016-02-10 20:08:49,818 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'conf'<>
2016-02-10 20:08:49,820 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'conf'<>
2016-02-10 20:08:49,821 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'conf'<>
2016-02-10 20:08:49,877 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-1} inited
2016-02-10 20:08:49,878 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'dataSource'<>
2016-02-10 20:08:49,889 org.nutz.dao.impl.NutDao.(NutDao.java:105) DEBUG - NutDao[_selfId=0] init ...
2016-02-10 20:08:50,006 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: C:\Users\yangjh5/.nutz/tmp/dao/ [200000]
2016-02-10 20:08:50,007 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\yangjh5.nutz\tmp\dao'
2016-02-10 20:08:50,009 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 0
2016-02-10 20:08:50,018 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:89) DEBUG - Jdbcs init complete
2016-02-10 20:08:50,019 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:102) INFO - Get Connection from DataSource for JdbcExpert, if I lock at here, check your database server and configure
2016-02-10 20:08:50,314 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:172) DEBUG - JDBC Driver --> mysql-connector-java-5.1.36 ( Revision: 4fc1f969f740409a4e03750316df2c0e429f3dc8 )
2016-02-10 20:08:50,314 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:173) DEBUG - JDBC Name --> MySQL Connector Java
2016-02-10 20:08:50,314 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:175) DEBUG - JDBC URL --> jdbc:mysql://127.0.0.1:3306/nutzbook
2016-02-10 20:08:50,391 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_client=utf8
2016-02-10 20:08:50,392 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_connection=utf8
2016-02-10 20:08:50,392 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_database=utf8
2016-02-10 20:08:50,392 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_filesystem=binary
2016-02-10 20:08:50,392 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_results=
2016-02-10 20:08:50,393 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_server=utf8
2016-02-10 20:08:50,393 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_set_system=utf8
2016-02-10 20:08:50,393 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - Mysql : character_sets_dir=E:\App\DevTools\mariadb-5.5.46-winx64\share\charsets\
2016-02-10 20:08:50,394 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:189) DEBUG - Database info --> MYSQL:[MySQL - 5.5.46-MariaDB-log]
2016-02-10 20:08:50,403 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 8 resource by src( com/yjh/ ) , regex( ^.+[.]class$ )
2016-02-10 20:08:50,508 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:193) DEBUG - SELECT COUNT(*) FROM ACCOUNT
2016-02-10 20:08:50,510 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-02-10 20:08:50,510 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) DEBUG - >> Load definition
2016-02-10 20:08:50,511 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=nutQuartzCronJobFactory
2016-02-10 20:08:50,512 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(nutQuartzCronJobFactory) in IocLoader(QuartzIocLoader@826528979)
2016-02-10 20:08:50,512 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) DEBUG - >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-02-10 20:08:50,517 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2016-02-10 20:08:50,518 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'nutQuartzCronJobFactory' to [app]
2016-02-10 20:08:50,520 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:149) DEBUG - Get 'scheduler'<>
2016-02-10 20:08:50,521 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:169) DEBUG - >> Load definition
2016-02-10 20:08:50,521 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2016-02-10 20:08:50,522 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(scheduler) in IocLoader(QuartzIocLoader@826528979)
2016-02-10 20:08:50,522 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:199) DEBUG - >> Make...'scheduler'<>
2016-02-10 20:08:50,523 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'scheduler' to [app]
2016-02-10 20:08:50,582 org.quartz.utils.ExceptionHelper.supportsNestedThrowable(ExceptionHelper.java:97) DEBUG - Detected JDK support for nested exceptions.
2016-02-10 20:08:50,583 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'scheduler' from [app]
2016-02-10 20:08:50,584 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'nutQuartzCronJobFactory' from [app]
2016-02-10 20:08:50,585 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:123) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: Fail to born 'org.quartz.impl.StdSchedulerFactory'
by args: [] becasue:
org.quartz.SchedulerException: ThreadPool class not specified. FAIL to create Ioc Bean name=[scheduler] FAIL to create Ioc Bean name=[nutQuartzCronJobFactory]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:144)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:200)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:225)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:144)
at com.yjh.MainSetup.init(MainSetup.java:35)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:270)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:119)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:78)
at com.yjh.MainFilter.init(MainFilter.java:31)
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:4573)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1585)
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:300)
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:463)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:413)
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:300)
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:323)
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: org.nutz.ioc.IocException: Fail to born 'org.quartz.impl.StdSchedulerFactory'
by args: [] becasue:
org.quartz.SchedulerException: ThreadPool class not specified. FAIL to create Ioc Bean name=[scheduler]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:144)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:200)
at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:132)
... 57 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.quartz.impl.StdSchedulerFactory'
by args: [] becasue:
org.quartz.SchedulerException: ThreadPool class not specified.
at org.nutz.lang.born.MethodBorning.born(MethodBorning.java:20)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:112)
... 62 more
Caused by: org.quartz.SchedulerException: ThreadPool class not specified.
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:759)
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1371)
at org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1387)
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.lang.born.MethodBorning.born(MethodBorning.java:17)
... 64 more
2016-02-10 20:08:50,594 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - try to depose ioc
2016-02-10 20:08:50,596 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:241) INFO - Closing class org.nutz.ioc.impl.NutIoc@303534948 startup date [Wed Feb 10 20:08:49 CST 2016]
2016-02-10 20:08:50,597 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:91) DEBUG - Depose object 'dao' ...
2016-02-10 20:08:50,597 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:91) DEBUG - Depose object 'conf' ...
2016-02-10 20:08:50,598 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:91) DEBUG - Depose object 'dataSource' ...
2016-02-10 20:08:50,611 com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1385) INFO - {dataSource-1} closed
2016-02-10 20:08:50,611 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:245) INFO - class org.nutz.ioc.impl.NutIoc@303534948 is deposed.
10-Feb-2016 20:08:50.623 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Error filterStart
10-Feb-2016 20:08:50.623 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/nutzbook] startup failed due to previous errors
10-Feb-2016 20:08:50.633 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [nutzbook] 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.
10-Feb-2016 20:08:50.634 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [nutzbook] 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.
10-Feb-2016 20:08:50.635 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [nutzbook] created a ThreadLocal with key of type [org.nutz.mvc.NutMvcContext$1] (value [org.nutz.mvc.NutMvcContext$1@456e5c8]) 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.
[2016-02-10 08:08:50,652] Artifact nutzbook:war exploded: Error during artifact deployment. See server log for details.

3 回复

解决了,在quartz.properties加入一下内容:
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadPriority = 5
虽然我也不知道是什么原因。。总之能继续下去了

quartz版本低

感谢兽兽大神,我也发现了,是因为shiro-quartz依赖了一个1.6.1的版本,我pom下面写的2.2.2的quartz竟然不起做用,用exclusions把shiro-quartz依赖的排除就好了,感谢兽兽

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