NutzCN Logo
问答 配置shiro二级缓存报类不存在
发布于 2786天前 作者 老司机 1606 次浏览 复制 上一个帖子 下一个帖子
标签:

shiro整合后服务都没起得来报错,好像是监听错了
web.xml

<web-app>
    <display-name>Archetype Created Web Application</display-name>
    <!--shiro监听-->
    <listener>
        <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
    </listener>
    <filter>
        <filter-name>ShiroFilter</filter-name>
        <!-- filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class -->
        <!-- 原生ShiroFilter,每次请求都会touch一次session,导致session持久化的时候压力非常大.ShiroFilter2能解决这个问题 -->
        <filter-class>org.nutz.integration.shiro.ShiroFilter2</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>ShiroFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
        <dispatcher>ERROR</dispatcher>
    </filter-mapping>


    <filter>
        <filter-name>nutz</filter-name>
        <filter-class>org.nutz.mvc.NutFilter</filter-class>
        <init-param>
            <param-name>modules</param-name>
            <param-value>com.css.MainModule</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>nutz</filter-name>
        <url-pattern>/*</url-pattern>
        <!-- ForwardView需要下面的配置 @Ok("->:/xxx/yyy/zzz") -->
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>default.html</welcome-file>
        <welcome-file>default.htm</welcome-file>
        <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
</web-app>

报错日志

Connected to server
[2017-05-07 10:16:23,416] Artifact css:war exploded: Artifact is being deployed, please wait...
07-May-2017 22:16:26.224 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
07-May-2017 22:16:27.350 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
07-May-2017 22:16:27.351 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
[2017-05-07 10:16:27,368] Artifact css:war exploded: Error during artifact deployment. See server log for details.
07-May-2017 22:16:33.379 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\Program Files\Apache\apache-tomcat-9.0.0.M17\webapps\manager
07-May-2017 22:16:33.435 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\Program Files\Apache\apache-tomcat-9.0.0.M17\webapps\manager has finished in 56 ms

6 回复

先把日志弄好

缺slf4j-log4j12

@wendal 按照Nutz-book Nutz烹调向导的做法陪shiro

[main]
nutzdao_realm = com.css.shiro.realm.SimpleAuthorizingRealm

authc = org.nutz.integration.shiro.SimpleAuthenticationFilter
authc.loginUrl = /user/login
logout.redirectUrl = /user/login

cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
cacheManager.cacheManagerConfigFile=classpath:ehcache.xml
nutzdao_realm.cacheManager = $cacheManager
[urls]
/rs/* = anon
/user/logout = logout
/user/error = anon
/user/login = anon
/user/profile/active/mail = anon

并没有报错,但是按照nutzmore的readme去配

[main]

#Session管理器,关闭定时校验机制,持久化环境下会非常耗内存
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
sessionManager.sessionValidationSchedulerEnabled = false

#带缓存的SessionDAO
sessionDAO = org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO
sessionManager.sessionDAO = $sessionDAO
securityManager.sessionManager = $sessionManager

# use R.UU32(), 原生的是UUID,比较长
sessionIdGenerator = org.nutz.integration.shiro.UU32SessionIdGenerator
securityManager.sessionManager.sessionDAO.sessionIdGenerator = $sessionIdGenerator

# 2层缓存配置
jedisAgent = org.nutz.integration.jedis.JedisAgent
cacheManager_ehcache = org.apache.shiro.cache.ehcache.EhCacheManager
cacheManager_ehcache.cacheManagerConfigFile = classpath:ehcache.xml
cacheManager_redis = org.nutz.plugins.cache.impl.redis.RedisCacheManager
cacheManager_redis.mode = kv
cacheManager_redis.debug = true
cacheManager = org.nutz.plugins.cache.impl.lcache.LCacheManager
cacheManager.level1 = $cacheManager_ehcache
cacheManager.level2 = $cacheManager_redis
cacheManager.jedisAgent = $jedisAgent
securityManager.cacheManager = $cacheManager

# realm声明
nutzdao_realm = com.css.shiro.realm.SimpleAuthorizingRealm

# cookie, nutzcn使用超长时间的cookie,所以下面的timeout都很长
sessionIdCookie = org.apache.shiro.web.servlet.SimpleCookie
sessionIdCookie.name = sid
sessionIdCookie.maxAge = 946080000
sessionIdCookie.httpOnly = true
sessionManager.sessionIdCookie = $sessionIdCookie
sessionManager.sessionIdCookieEnabled = true
sessionManager.globalSessionTimeout = 946080000

authc = org.nutz.integration.shiro.SimpleAuthenticationFilter
authc.loginUrl = /user/login
perms.loginUrl = /user/login
roles.loginUrl = /user/login
user.loginUrl = /user/login
rest.loginUrl = /user/login
logout.redirectUrl = /user/login


[urls]
/rs/* = anon, noSessionCreation
/druid/* = anon, noSessionCreation
/asserts/* = anon, noSessionCreation
/user/logout = logout
/user/error = anon
/user/count = anon

就会报错,报错日志

"D:\Program Files\Apache\apache-tomcat-9.0.0.M17\bin\catalina.bat" run
[2017-05-07 11:06:43,823] Artifact css:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE:   "C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_Student-Registration-System"
Using CATALINA_HOME:   "D:\Program Files\Apache\apache-tomcat-9.0.0.M17"
Using CATALINA_TMPDIR: "D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp"
Using JRE_HOME:        "D:\Program Files\Java\jdk"
Using CLASSPATH:       "D:\Program Files\Apache\apache-tomcat-9.0.0.M17\bin\bootstrap.jar;D:\Program Files\Apache\apache-tomcat-9.0.0.M17\bin\tomcat-juli.jar"
07-May-2017 23:06:44.602 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.0.M17
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 10 2017 20:59:20 UTC
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.0.0
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 8.1
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.3
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\Program Files\Java\jdk\jre
07-May-2017 23:06:44.605 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_31-b13
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_Student-Registration-System
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\Program Files\Apache\apache-tomcat-9.0.0.M17
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_Student-Registration-System\conf\logging.properties
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1069
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
07-May-2017 23:06:44.606 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2017.1\system\tomcat\Unnamed_Student-Registration-System
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Program Files\Apache\apache-tomcat-9.0.0.M17
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
07-May-2017 23:06:44.607 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
07-May-2017 23:06:45.262 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2j  26 Sep 2016)
07-May-2017 23:06:45.375 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
07-May-2017 23:06:45.400 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
07-May-2017 23:06:45.412 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
07-May-2017 23:06:45.419 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
07-May-2017 23:06:45.420 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1110 ms
07-May-2017 23:06:45.467 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
07-May-2017 23:06:45.467 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M17
07-May-2017 23:06:45.484 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
07-May-2017 23:06:45.492 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
07-May-2017 23:06:45.495 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 75 ms
[2017-05-07 11:06:45,920] Artifact css:war exploded: Artifact is being deployed, please wait...
Connected to server
07-May-2017 23:06:48.133 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-05-07 23:06:48,405 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:128) INFO  - Starting Shiro environment initialization.
2017-05-07 23:06:48,424 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:76) DEBUG - Checking any specified config locations.
2017-05-07 23:06:48,425 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:81) DEBUG - No INI instance or config locations specified.  Trying default config locations.
2017-05-07 23:06:48,431 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2017-05-07 23:06:48,437 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [main]
2017-05-07 23:06:48,450 org.apache.shiro.config.Ini.load(Ini.java:351) DEBUG - Parsing [urls]
2017-05-07 23:06:48,451 org.apache.shiro.web.env.IniWebEnvironment.getDefaultIni(IniWebEnvironment.java:136) DEBUG - Discovered non-empty INI configuration at location 'classpath:shiro.ini'.  Using for configuration.
2017-05-07 23:06:48,456 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls]
2017-05-07 23:06:48,684 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: false
2017-05-07 23:06:48,684 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Boolean' value 'false' to type 'Boolean'
2017-05-07 23:06:48,685 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Boolean
2017-05-07 23:06:48,693 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,693 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Byte'
2017-05-07 23:06:48,693 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Byte value '0'
2017-05-07 23:06:48,695 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value:  
2017-05-07 23:06:48,696 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Character' value ' ' to type 'Character'
2017-05-07 23:06:48,700 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Character
2017-05-07 23:06:48,702 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,702 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Double'
2017-05-07 23:06:48,702 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Double value '0.0'
2017-05-07 23:06:48,703 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,704 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Float'
2017-05-07 23:06:48,704 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Float value '0.0'
2017-05-07 23:06:48,707 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,707 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Integer'
2017-05-07 23:06:48,707 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Integer
2017-05-07 23:06:48,709 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,710 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Long'
2017-05-07 23:06:48,711 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Long value '0'
2017-05-07 23:06:48,712 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,713 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Short'
2017-05-07 23:06:48,714 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Short value '0'
2017-05-07 23:06:48,716 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0.0
2017-05-07 23:06:48,716 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'BigDecimal' value '0.0' to type 'BigDecimal'
2017-05-07 23:06:48,717 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a BigDecimal
2017-05-07 23:06:48,719 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,719 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'BigInteger' value '0' to type 'BigInteger'
2017-05-07 23:06:48,719 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a BigInteger
2017-05-07 23:06:48,720 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: false
2017-05-07 23:06:48,720 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Boolean' value 'false' to type 'Boolean'
2017-05-07 23:06:48,720 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Boolean
2017-05-07 23:06:48,720 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,720 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Byte'
2017-05-07 23:06:48,721 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Byte value '0'
2017-05-07 23:06:48,721 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value:  
2017-05-07 23:06:48,721 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Character' value ' ' to type 'Character'
2017-05-07 23:06:48,721 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Character
2017-05-07 23:06:48,722 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,722 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Double'
2017-05-07 23:06:48,722 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Double value '0.0'
2017-05-07 23:06:48,722 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,723 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Float'
2017-05-07 23:06:48,723 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Float value '0.0'
2017-05-07 23:06:48,723 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,723 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Integer'
2017-05-07 23:06:48,723 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Integer
2017-05-07 23:06:48,727 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,727 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Long'
2017-05-07 23:06:48,727 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Long value '0'
2017-05-07 23:06:48,727 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 0
2017-05-07 23:06:48,728 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer' value '0' to type 'Short'
2017-05-07 23:06:48,728 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Short value '0'
2017-05-07 23:06:48,729 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: 
2017-05-07 23:06:48,730 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'String' value '' to type 'String'
2017-05-07 23:06:48,739 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Z@3f0f7b29
2017-05-07 23:06:48,740 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'boolean[]' value '[Z@3f0f7b29' to type 'boolean[]'
2017-05-07 23:06:48,740 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a boolean[]
2017-05-07 23:06:48,740 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [B@7cde3f2d
2017-05-07 23:06:48,741 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'byte[]' value '[B@7cde3f2d' to type 'byte[]'
2017-05-07 23:06:48,741 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a byte[]
2017-05-07 23:06:48,742 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [C@c560bc7
2017-05-07 23:06:48,742 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'char[]' value '[C@c560bc7' to type 'char[]'
2017-05-07 23:06:48,742 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a char[]
2017-05-07 23:06:48,742 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [D@56576169
2017-05-07 23:06:48,743 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'double[]' value '[D@56576169' to type 'double[]'
2017-05-07 23:06:48,743 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a double[]
2017-05-07 23:06:48,743 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [F@12459eb9
2017-05-07 23:06:48,743 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'float[]' value '[F@12459eb9' to type 'float[]'
2017-05-07 23:06:48,743 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a float[]
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [I@1f6fec8b
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'int[]' value '[I@1f6fec8b' to type 'int[]'
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a int[]
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [J@23dbd492
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'long[]' value '[J@23dbd492' to type 'long[]'
2017-05-07 23:06:48,744 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a long[]
2017-05-07 23:06:48,745 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [S@4eeab5a9
2017-05-07 23:06:48,745 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'short[]' value '[S@4eeab5a9' to type 'short[]'
2017-05-07 23:06:48,745 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a short[]
2017-05-07 23:06:48,745 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.math.BigDecimal;@70644a9b
2017-05-07 23:06:48,746 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'BigDecimal[]' value '[Ljava.math.BigDecimal;@70644a9b' to type 'BigDecimal[]'
2017-05-07 23:06:48,746 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a BigDecimal[]
2017-05-07 23:06:48,746 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.math.BigInteger;@6d0dc27f
2017-05-07 23:06:48,747 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'BigInteger[]' value '[Ljava.math.BigInteger;@6d0dc27f' to type 'BigInteger[]'
2017-05-07 23:06:48,747 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a BigInteger[]
2017-05-07 23:06:48,747 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Boolean;@2433c959
2017-05-07 23:06:48,747 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Boolean[]' value '[Ljava.lang.Boolean;@2433c959' to type 'Boolean[]'
2017-05-07 23:06:48,747 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Boolean[]
2017-05-07 23:06:48,748 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Byte;@481309e8
2017-05-07 23:06:48,748 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Byte[]' value '[Ljava.lang.Byte;@481309e8' to type 'Byte[]'
2017-05-07 23:06:48,748 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Byte[]
2017-05-07 23:06:48,748 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Character;@f50a6af
2017-05-07 23:06:48,748 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Character[]' value '[Ljava.lang.Character;@f50a6af' to type 'Character[]'
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Character[]
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Double;@65ced844
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Double[]' value '[Ljava.lang.Double;@65ced844' to type 'Double[]'
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Double[]
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Float;@445bd77f
2017-05-07 23:06:48,749 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Float[]' value '[Ljava.lang.Float;@445bd77f' to type 'Float[]'
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Float[]
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Integer;@74ff9cca
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Integer[]' value '[Ljava.lang.Integer;@74ff9cca' to type 'Integer[]'
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Integer[]
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Long;@3f2f159
2017-05-07 23:06:48,750 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Long[]' value '[Ljava.lang.Long;@3f2f159' to type 'Long[]'
2017-05-07 23:06:48,752 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Long[]
2017-05-07 23:06:48,752 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Short;@6fc3d875
2017-05-07 23:06:48,752 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Short[]' value '[Ljava.lang.Short;@6fc3d875' to type 'Short[]'
2017-05-07 23:06:48,752 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Short[]
2017-05-07 23:06:48,753 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.String;@23960ed7
2017-05-07 23:06:48,753 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'String[]' value '[Ljava.lang.String;@23960ed7' to type 'String[]'
2017-05-07 23:06:48,753 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a String[]
2017-05-07 23:06:48,753 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.lang.Class;@543f0de5
2017-05-07 23:06:48,753 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Class[]' value '[Ljava.lang.Class;@543f0de5' to type 'Class[]'
2017-05-07 23:06:48,754 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Class[]
2017-05-07 23:06:48,754 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.util.Date;@254e7767
2017-05-07 23:06:48,754 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Date[]' value '[Ljava.util.Date;@254e7767' to type 'Date[]'
2017-05-07 23:06:48,754 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Date[]
2017-05-07 23:06:48,755 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.util.Calendar;@536884ed
2017-05-07 23:06:48,755 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'Calendar[]' value '[Ljava.util.Calendar;@536884ed' to type 'Calendar[]'
2017-05-07 23:06:48,755 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a Calendar[]
2017-05-07 23:06:48,756 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.io.File;@29375e9a
2017-05-07 23:06:48,756 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'java.io.File[]' value '[Ljava.io.File;@29375e9a' to type 'java.io.File[]'
2017-05-07 23:06:48,757 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a java.io.File[]
2017-05-07 23:06:48,757 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.sql.Date;@203e036c
2017-05-07 23:06:48,757 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'java.sql.Date[]' value '[Ljava.sql.Date;@203e036c' to type 'java.sql.Date[]'
2017-05-07 23:06:48,758 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a java.sql.Date[]
2017-05-07 23:06:48,758 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.sql.Time;@6bf8f0c1
2017-05-07 23:06:48,758 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'java.sql.Time[]' value '[Ljava.sql.Time;@6bf8f0c1' to type 'java.sql.Time[]'
2017-05-07 23:06:48,759 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a java.sql.Time[]
2017-05-07 23:06:48,759 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.sql.Timestamp;@39ddcabb
2017-05-07 23:06:48,759 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'java.sql.Timestamp[]' value '[Ljava.sql.Timestamp;@39ddcabb' to type 'java.sql.Timestamp[]'
2017-05-07 23:06:48,760 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a java.sql.Timestamp[]
2017-05-07 23:06:48,760 org.apache.commons.beanutils.converters.AbstractConverter.setDefaultValue(AbstractConverter.java:336) DEBUG - Setting default value: [Ljava.net.URL;@280c47c0
2017-05-07 23:06:48,761 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'java.net.URL[]' value '[Ljava.net.URL;@280c47c0' to type 'java.net.URL[]'
2017-05-07 23:06:48,761 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:149) DEBUG -     No conversion required, value is already a java.net.URL[]
2017-05-07 23:06:48,781 org.apache.commons.beanutils.ConvertUtilsBean.convert(ConvertUtilsBean.java:460) DEBUG - Convert string 'false' to class 'boolean'
2017-05-07 23:06:48,781 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'String' value 'false' to type 'Boolean'
2017-05-07 23:06:48,782 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:158) DEBUG -     Converted to Boolean value 'false'
2017-05-07 23:06:48,788 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionDAO'.  Looking up object with id 'sessionDAO'
2017-05-07 23:06:48,809 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionManager'.  Looking up object with id 'sessionManager'
2017-05-07 23:06:48,821 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:396) DEBUG - Encountered object reference '$sessionIdGenerator'.  Looking up object with id 'sessionIdGenerator'
2017-05-07 23:06:48,856 org.apache.commons.beanutils.ConvertUtilsBean.convert(ConvertUtilsBean.java:460) DEBUG - Convert string 'classpath:ehcache.xml' to class 'java.lang.String'
2017-05-07 23:06:48,856 org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:127) DEBUG - Converting 'String' value 'classpath:ehcache.xml' to type 'String'
2017-05-07 23:06:48,857 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:206) DEBUG - cacheManager property not set.  Constructing CacheManager instance... 
2017-05-07 23:06:48,873 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [ehcache.xml]
2017-05-07 23:06:48,879 net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:150) DEBUG - Configuring ehcache from InputStream
2017-05-07 23:06:48,916 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xmlns:xsi
2017-05-07 23:06:48,917 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation
2017-05-07 23:06:49,026 net.sf.ehcache.util.PropertyUtil.parseProperties(PropertyUtil.java:87) DEBUG - propertiesString is null.
2017-05-07 23:06:49,039 net.sf.ehcache.CacheManager.configure(CacheManager.java:772) WARN  - One or more caches require a DiskStore but there is no diskStore element configured. Using the default disk store path of D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp. Please explicitly configure the diskStore element in ehcache.xml.
2017-05-07 23:06:49,040 net.sf.ehcache.config.ConfigurationHelper.createCacheManagerEventListener(ConfigurationHelper.java:189) DEBUG - No CacheManagerEventListenerFactory class specified. Skipping...
2017-05-07 23:06:49,143 net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1044) DEBUG - No BootstrapCacheLoaderFactory class specified. Skipping...
2017-05-07 23:06:49,143 net.sf.ehcache.Cache.createCacheWriter(Cache.java:1017) DEBUG - CacheWriter factory not configured. Skipping...
2017-05-07 23:06:49,144 net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) DEBUG - No CacheExceptionHandlerFactory class specified. Skipping...
2017-05-07 23:06:49,171 net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1044) DEBUG - No BootstrapCacheLoaderFactory class specified. Skipping...
2017-05-07 23:06:49,171 net.sf.ehcache.Cache.createCacheWriter(Cache.java:1017) DEBUG - CacheWriter factory not configured. Skipping...
2017-05-07 23:06:49,171 net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) DEBUG - No CacheExceptionHandlerFactory class specified. Skipping...
2017-05-07 23:06:49,201 net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:169) DEBUG - Using diskstore path D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp
2017-05-07 23:06:49,201 net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:170) DEBUG - Holding exclusive lock on D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp\.ehcache-diskstore.lock
2017-05-07 23:06:49,211 net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:170) DEBUG - Matching data file missing (or empty) for index file. Deleting index file D:\Program Files\Apache\apache-tomcat-9.0.0.M17\temp\shiro-active%0053ession%0043ache.index
2017-05-07 23:06:49,284 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) DEBUG - Mocking Pass-Through Statistic: LOCAL_OFFHEAP_SIZE
2017-05-07 23:06:49,285 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) DEBUG - Mocking Pass-Through Statistic: LOCAL_OFFHEAP_SIZE_BYTES
2017-05-07 23:06:49,286 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) DEBUG - Mocking Pass-Through Statistic: WRITER_QUEUE_LENGTH
2017-05-07 23:06:49,287 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) DEBUG - Mocking Pass-Through Statistic: REMOTE_SIZE
2017-05-07 23:06:49,289 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardPassThruStatistics(ExtendedStatisticsImpl.java:224) DEBUG - Mocking Pass-Through Statistic: LAST_REJOIN_TIMESTAMP
2017-05-07 23:06:49,312 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: OFFHEAP_GET
2017-05-07 23:06:49,313 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: OFFHEAP_PUT
2017-05-07 23:06:49,314 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: OFFHEAP_REMOVE
2017-05-07 23:06:49,314 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: XA_COMMIT
2017-05-07 23:06:49,315 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: XA_ROLLBACK
2017-05-07 23:06:49,315 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: XA_RECOVERY
2017-05-07 23:06:49,315 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: CLUSTER_EVENT
2017-05-07 23:06:49,316 net.sf.ehcache.statistics.extended.ExtendedStatisticsImpl.findStandardOperationStatistics(ExtendedStatisticsImpl.java:206) DEBUG - Mocking Operation Statistic: NONSTOP
2017-05-07 23:06:49,321 net.sf.ehcache.Cache.initialise(Cache.java:1262) DEBUG - Initialised cache: shiro-activeSessionCache
2017-05-07 23:06:49,321 net.sf.ehcache.config.ConfigurationHelper.createCacheDecorators(ConfigurationHelper.java:334) DEBUG - CacheDecoratorFactory not configured. Skipping for 'shiro-activeSessionCache'.
2017-05-07 23:06:49,321 net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) DEBUG - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiro-activeSessionCache'.
2017-05-07 23:06:49,322 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:219) DEBUG - implicit cacheManager created successfully.
2017-05-07 23:06:49,324 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:146) ERROR - Shiro environment initialization failed
org.apache.shiro.config.ConfigurationException: Unable to instantiate class [org.nutz.plugins.cache.impl.redis.RedisCacheManager] for object named 'cacheManager_redis'.  Please ensure you've specified the fully qualified class name correctly.
	at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:309)
07-May-2017 23:06:49.330 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
	at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927)
	at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887)
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765)
	at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
	at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
07-May-2017 23:06:49.331 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
	at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
	at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
	at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
	at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
	at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4717)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5179)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1702)
	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:483)
	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:456)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	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:1466)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
	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:483)
	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$240(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$2/2081048799.run(Unknown Source)
	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.apache.shiro.util.UnknownClassException: Unable to load class named [org.nutz.plugins.cache.impl.redis.RedisCacheManager] from the thread context, current, or system/application ClassLoaders.  All heuristics have been exhausted.  Class could not be found.
	at org.apache.shiro.util.ClassUtils.forName(ClassUtils.java:152)
	at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168)
	at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302)
	... 65 more
[2017-05-07 11:06:49,345] Artifact css:war exploded: Error during artifact deployment. See server log for details.
07-May-2017 23:06:55.487 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\Program Files\Apache\apache-tomcat-9.0.0.M17\webapps\manager
07-May-2017 23:06:55.542 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\Program Files\Apache\apache-tomcat-9.0.0.M17\webapps\manager has finished in 55 ms

那是带redis二级缓存的写法

@wendal 我就是要带redis的二级缓存,然后我改好了,是没有加nutz-plugins-cache,但是在GitHub的nutzmore nutz-integration-shiro的readme的添加本插件及依赖里面只写了

<dependency>
			<groupId>org.nutz</groupId>
			<artifactId>nutz-integration-shiro</artifactId>
			<version>1.r.60</version>
		</dependency>
		<dependency>
			<groupId>org.apache.shiro</groupId>
			<artifactId>shiro-all</artifactId>
			<version>1.3.0</version>
			<exclusions>
				<exclusion>
					<artifactId>ehcache-core</artifactId>
					<groupId>net.sf.ehcache</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>net.sf.ehcache</groupId>
			<artifactId>ehcache</artifactId>
			<version>2.10.1</version>
		</dependency>

并没有说加nutz-plugins-cache,这是在玩我?

恩,补一下

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