七月 24, 2018 2:29:50 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:shoufajituangame' did not find a matching property.
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/8.5.12
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Mar 8 2017 17:41:47 UTC
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 8.5.12.0
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Program Files\Java\jre1.8.0_121
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_121-b13
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: G:\项目管理\2018年\7月份首发游戏\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\Program Files\Java\Tomcat\apache-tomcat-8.5.12
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=G:\项目管理\2018年\7月份首发游戏\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\Program Files\Java\Tomcat\apache-tomcat-8.5.12
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=G:\项目管理\2018年\7月份首发游戏\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\Program Files\Java\Tomcat\apache-tomcat-8.5.12\endorsed
七月 24, 2018 2:29:50 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
七月 24, 2018 2:29:50 下午 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: C:\Program Files\Java\jre1.8.0_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\ProgramData\Oracle\Java\javapath;D:\oracle\app\oracle\product\11.2.0\server\bin;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;%MYSQL_HOME%\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\nodejs\;C:\Users\dxp\AppData\Local\Microsoft\WindowsApps;C:\Users\dxp\AppData\Roaming\npm;D:\Program Files\Java\eclipse;;.
七月 24, 2018 2:29:50 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
七月 24, 2018 2:29:51 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
七月 24, 2018 2:29:51 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
七月 24, 2018 2:29:51 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
七月 24, 2018 2:29:51 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1143 ms
七月 24, 2018 2:29:51 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
七月 24, 2018 2:29:51 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.5.12
七月 24, 2018 2:29:53 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
七月 24, 2018 2:29:53 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
2018-07-24 14:29:53,970 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2018-07-24 14:29:53,982 org.apache.shiro.config.Ini.load(Ini.java:401) DEBUG - Parsing [main]
2018-07-24 14:29:53,985 org.apache.shiro.config.Ini.load(Ini.java:401) DEBUG - Parsing [urls]
2018-07-24 14:29:53,988 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:149) DEBUG - Creating instance from Ini [sections=main,urls]
2018-07-24 14:29:54,398 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:205) DEBUG - cacheManager property not set. Constructing CacheManager instance...
2018-07-24 14:29:54,423 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [ehcache.xml]
2018-07-24 14:29:54,996 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:218) DEBUG - implicit cacheManager created successfully.
2018-07-24 14:29:55,027 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:414) DEBUG - Encountered object reference '$cacheManager'. Looking up object with id 'cacheManager'
2018-07-24 14:29:55,103 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:414) DEBUG - Encountered object reference '$sha256Matcher'. Looking up object with id 'sha256Matcher'
2018-07-24 14:29:55,104 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set. Checking for a cacheManager...
2018-07-24 14:29:55,104 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:248) DEBUG - No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
2018-07-24 14:29:55,106 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:414) DEBUG - Encountered object reference '$shiroDbRealm'. Looking up object with id 'shiroDbRealm'
2018-07-24 14:29:55,107 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:414) DEBUG - Encountered object reference '$shiroDbRealm'. Looking up object with id 'shiroDbRealm'
2018-07-24 14:29:55,107 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set. Checking for a cacheManager...
2018-07-24 14:29:55,107 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:242) DEBUG - CacheManager [org.apache.shiro.cache.ehcache.EhCacheManager@3cf9ceee] has been configured. Building authorization cache named [shiroDbRealm.authorizationCache]
2018-07-24 14:29:55,107 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:158) INFO - Cache with name 'shiroDbRealm.authorizationCache' does not yet exist. Creating now.
2018-07-24 14:29:55,142 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:165) INFO - Added EhCache named [shiroDbRealm.authorizationCache]
2018-07-24 14:29:55,163 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:414) DEBUG - Encountered object reference '$authcStrategy'. Looking up object with id 'authcStrategy'
2018-07-24 14:29:55,164 org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:314) INFO - An instance with name 'authc' already exists. Redefining this object as a new instance of type org.nutz.integration.shiro.CaptchaFormAuthenticationFilter
2018-07-24 14:29:55,208 org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms(IniSecurityManagerFactory.java:127) INFO - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.
2018-07-24 14:29:55,210 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:149) DEBUG - Creating instance from Ini [sections=main,urls]
2018-07-24 14:29:56,161 org.nutz.mvc.NutFilter._init(NutFilter.java:85) INFO - NutFilter[nutz] starting ...
2018-07-24 14:29:56,191 org.nutz.resource.Scans.printLocations(Scans.java:527) DEBUG - Locations count=4 time use 9ms
2018-07-24 14:29:56,233 org.nutz.resource.Scans.printLocations(Scans.java:527) DEBUG - Locations count=36 time use 42ms
2018-07-24 14:29:56,287 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:61) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2018-07-24 14:29:56,295 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.65
2018-07-24 14:29:56,296 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2018-07-24 14:29:56,296 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2018-07-24 14:29:56,298 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : UTF-8
2018-07-24 14:29:56,299 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : D:\Program Files\Java\eclipse\.
2018-07-24 14:29:56,299 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.8.0_121
2018-07-24 14:29:56,299 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : \
2018-07-24 14:29:56,302 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2018-07-24 14:29:56,302 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Windows 10 amd64
2018-07-24 14:29:56,302 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/8.5.12
2018-07-24 14:29:56,303 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 3.1
2018-07-24 14:29:56,303 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /shoufajituangame
2018-07-24 14:29:56,304 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG - - context.tempdir : G:\项目管理\2018年\7月份首发游戏\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\shoufajituangame
2018-07-24 14:29:56,307 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG - - MainModule : com.bsdkj.shoufajituangame.modules.MainModule
2018-07-24 14:29:56,310 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:239) DEBUG - >> app.root = G:/项目管理/2018年/7月份首发游戏/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/shoufajituangame
2018-07-24 14:29:56,472 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2018-07-24 14:29:56,473 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*json", "config/ioc/", "*anno", "com.bsdkj.shoufajituangame", "*tx"],init=[])
2018-07-24 14:29:56,581 org.nutz.resource.Scans.scan(Scans.java:280) DEBUG - Found 4 resource by src( config/ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-07-24 14:29:56,582 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [dao.json]
2018-07-24 14:29:56,589 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [dao2.json]
2018-07-24 14:29:56,592 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [ehcache.json]
2018-07-24 14:29:56,593 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [upload.json]
2018-07-24 14:29:56,599 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) DEBUG - Loaded 11 bean define from path=[config/ioc/] --> [dao, uploadFileContext, videoUpload, tmpFilePool, uploadImageContext, conf, uploadVideoContext, imageUpload, fileUpload, dataSource, cacheManager]
2018-07-24 14:29:56,618 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) INFO - > scan 'com.bsdkj.shoufajituangame'
2018-07-24 14:29:56,666 org.nutz.resource.Scans.scan(Scans.java:280) DEBUG - Found 81 resource by src( com/bsdkj/shoufajituangame/ ) , regex( ^.+[.]class$ )
2018-07-24 14:29:56,812 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add '$aop_syslog ' - com.bsdkj.shoufajituangame.common.service.log.SysLogAopConfigration
2018-07-24 14:29:56,827 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'sysLogService ' - com.bsdkj.shoufajituangame.common.service.log.SysLogService
2018-07-24 14:29:56,834 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'qrcodeService ' - com.bsdkj.shoufajituangame.common.service.QrcodeService
2018-07-24 14:29:56,840 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'permission ' - com.bsdkj.shoufajituangame.common.shiro.velocity.Permission
2018-07-24 14:29:56,841 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'cacheUtils ' - com.bsdkj.shoufajituangame.common.util.CacheUtils
2018-07-24 14:29:56,843 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'dateUtils ' - com.bsdkj.shoufajituangame.common.util.DateUtils
2018-07-24 14:29:56,844 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'toolkit ' - com.bsdkj.shoufajituangame.common.util.Toolkit
2018-07-24 14:29:56,859 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'captchaAction ' - com.bsdkj.shoufajituangame.modules.mvc.CaptchaAction
2018-07-24 14:29:56,865 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'documentAction ' - com.bsdkj.shoufajituangame.modules.mvc.document.DocumentAction
2018-07-24 14:29:56,873 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'fileManagerAction ' - com.bsdkj.shoufajituangame.modules.mvc.file.FileManagerAction
2018-07-24 14:29:56,876 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'fileUploadAction ' - com.bsdkj.shoufajituangame.modules.mvc.file.FileUploadAction
2018-07-24 14:29:56,893 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'indexAction ' - com.bsdkj.shoufajituangame.modules.mvc.IndexAction
2018-07-24 14:29:56,896 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'loginAction ' - com.bsdkj.shoufajituangame.modules.mvc.LoginAction
2018-07-24 14:29:56,899 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'publicAction ' - com.bsdkj.shoufajituangame.modules.mvc.PublicAction
2018-07-24 14:29:56,900 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'docClassAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.DocClassAction
2018-07-24 14:29:56,903 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'logAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.LogAction
2018-07-24 14:29:56,905 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'menuAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.MenuAction
2018-07-24 14:29:56,906 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'roleAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.RoleAction
2018-07-24 14:29:56,910 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'unitAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.UnitAction
2018-07-24 14:29:56,914 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'userAction ' - com.bsdkj.shoufajituangame.modules.mvc.sys.UserAction
2018-07-24 14:29:56,920 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'bdController ' - com.bsdkj.shoufajituangame.modules.open.ueditor.BdController
2018-07-24 14:29:56,924 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'documentService ' - com.bsdkj.shoufajituangame.modules.service.document.DocumentService
2018-07-24 14:29:56,936 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'configService ' - com.bsdkj.shoufajituangame.modules.service.sys.ConfigService
2018-07-24 14:29:56,936 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'docClassService ' - com.bsdkj.shoufajituangame.modules.service.sys.DocClassService
2018-07-24 14:29:56,938 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'logService ' - com.bsdkj.shoufajituangame.modules.service.sys.LogService
2018-07-24 14:29:56,939 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'menuService ' - com.bsdkj.shoufajituangame.modules.service.sys.MenuService
2018-07-24 14:29:56,939 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'roleService ' - com.bsdkj.shoufajituangame.modules.service.sys.RoleService
2018-07-24 14:29:56,940 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'unitService ' - com.bsdkj.shoufajituangame.modules.service.sys.UnitService
2018-07-24 14:29:56,940 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) INFO - > add 'userService ' - com.bsdkj.shoufajituangame.modules.service.sys.UserService
2018-07-24 14:29:56,960 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:129) INFO - ... NutIoc init complete
2018-07-24 14:29:56,968 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-07-24 14:29:56,973 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(VelocityViewMaker.class,DefaultViewMaker.class)
2018-07-24 14:29:56,994 org.nutz.resource.Scans.scan(Scans.java:280) DEBUG - Found 0 resource by src( mvc/shoufajituangame-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2018-07-24 14:29:56,997 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.mvc.impl.NutActionChainMaker'
by args: [@(mvc/shoufajituangame-mvc-chain.js)]
because:java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in mvc/shoufajituangame-mvc-chain.js
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:1010)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:336)
at org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:265)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:169)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4599)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5242)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in mvc/shoufajituangame-mvc-chain.js
at org.nutz.lang.Lang.makeThrow(Lang.java:152)
at org.nutz.resource.Scans.loadResource(Scans.java:112)
at org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(JsonActionChainMakerConfiguretion.java:29)
at org.nutz.mvc.impl.NutActionChainMaker.<init>(NutActionChainMaker.java:28)
at org.nutz.mvc.impl.NutActionChainMaker$FC$d0275b2b871e237a38f11859247d1599.invoke(NutActionChainMaker.java)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
... 21 more
2018-07-24 14:29:57,002 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) ERROR - try to depose ioc
2018-07-24 14:29:57,005 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:286) INFO - org.nutz.ioc.impl.NutIoc@1592531883 is closing. startup date [18-07-24 14:29:56.955]
2018-07-24 14:29:57,006 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:300) INFO - org.nutz.ioc.impl.NutIoc@1592531883 is deposed. startup date [18-07-24 14:29:56.955]
七月 24, 2018 2:29:57 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.mvc.impl.NutActionChainMaker'
by args: [@(mvc/shoufajituangame-mvc-chain.js)]
because:java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in mvc/shoufajituangame-mvc-chain.js
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4599)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5242)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.mvc.impl.NutActionChainMaker'
by args: [@(mvc/shoufajituangame-mvc-chain.js)]
because:java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in mvc/shoufajituangame-mvc-chain.js
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:23)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:1010)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:336)
at org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:265)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:169)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
... 15 more
Caused by: java.lang.RuntimeException: folder or file like '^(.+[.])(js|json)$' no found in mvc/shoufajituangame-mvc-chain.js
at org.nutz.lang.Lang.makeThrow(Lang.java:152)
at org.nutz.resource.Scans.loadResource(Scans.java:112)
at org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(JsonActionChainMakerConfiguretion.java:29)
at org.nutz.mvc.impl.NutActionChainMaker.<init>(NutActionChainMaker.java:28)
at org.nutz.mvc.impl.NutActionChainMaker$FC$d0275b2b871e237a38f11859247d1599.invoke(NutActionChainMaker.java)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:17)
... 21 more
七月 24, 2018 2:29:57 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
七月 24, 2018 2:29:57 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/shoufajituangame] startup failed due to previous errors
七月 24, 2018 2:29:57 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
七月 24, 2018 2:29:57 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [shoufajituangame] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
七月 24, 2018 2:29:57 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [http-nio-8080]
七月 24, 2018 2:29:57 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [ajp-nio-8009]
七月 24, 2018 2:29:57 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 5856 ms
14 回复
@wendal 大佬,help
我在Scans.class找到了这句话,但是不知道怎么操作
public List loadResource(String regex, String... paths) {
List list = new LinkedList();
for (String path : paths) {
list.addAll(scan(path, regex));
}
// 如果找不到?
if (list.size() < 1 && paths.length > 0)
throw Lang.makeThrow( RuntimeException.class,
"folder or file like '%s' no found in %s",
regex,
Castors.me().castToString(paths));
return list;
}
添加回复
请先登陆