NutzCN Logo
问答 集成shiro,登录报错
发布于 2742天前 作者 qq_cdeebfe2 1873 次浏览 复制 上一个帖子 下一个帖子
标签:
org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [com.nutz.shrio.token.CaptchaToken - admin, rememberMe=false (0:0:0:0:0:0:0:1)].  Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
19 回复

无头无尾的帖子。

就是debug登录过程,抛出下面的异常信息,不知道是哪里缺少什么了?

org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [com.nutz.shrio.token.CaptchaToken - admin, rememberMe=false (0:0:0:0:0:0:0:1)].  Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).

完整的报错信息

上面是捕获的异常信息,前台页面抛出的是{"code":5,"msg":""}

后台的完整报错信息

后台 output控制台没有报错信息

把启动直至报错的全部日志贴上

INFO 09:46:01 Jdbcs.getExpert(103)-->Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
DEBUG 09:46:01 DaoSupport.setDataSource(189)-->select expert : org.nutz.dao.impl.jdbc.oracle.OracleJdbcExpert
DEBUG 09:46:01 DaoSupport$1.invoke(200)-->JDBC Driver --> 12.1.0.2.0
DEBUG 09:46:01 DaoSupport$1.invoke(201)-->JDBC Name   --> Oracle JDBC driver
DEBUG 09:46:01 DaoSupport$1.invoke(203)-->JDBC URL    --> jdbc:oracle:thin:@127.0.0.1:1522:orcl
DEBUG 09:46:01 DaoSupport.setDataSource(222)-->Database info --> ORACLE:[Oracle - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options]
DEBUG 09:46:01 NutDaoExecutor.printSQL(388)-->SELECT * FROM sys_config 
DEBUG 09:46:02 NutDaoExecutor.printSQL(388)-->SELECT COUNT(*) FROM sys_route 
DEBUG 09:46:02 NutDaoExecutor.printSQL(388)-->SELECT * FROM sys_route  WHERE disabled=?
    |     1 |
    |-------|
    | false |
  For example:> "SELECT * FROM sys_route  WHERE disabled=false"
DEBUG 09:46:02 NutIoc.get(151)-->Get 'cacheManager'<class net.sf.ehcache.CacheManager>
DEBUG 09:46:02 NutIoc.get(177)-->	 >> Load definition name=cacheManager
org.nutz.ioc.IocException: IocBean[cacheManager] For object [cacheManager] - type:[class net.sf.ehcache.CacheManager]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at com.wonders.Setup.init(Setup.java:64)
	at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java: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:4572)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	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:482)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431)
	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:178)
	at sun.rmi.transport.Transport$1.run(Transport.java:175)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
	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.ObjectLoadException: Object 'cacheManager' without define!
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:166)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 54 more
INFO 09:46:02 NutLoading.load(141)-->Nutz.Mvc[nutz] is up in 6195ms
INFO 09:46:02 NutFilter._init(117)-->exclusionsPrefix  = ^(/assets/|/druid/|/upload/|/apidoc/)
[2017-06-21 09:46:02,183] Artifact trademanage:war: Artifact is deployed successfully
[2017-06-21 09:46:02,183] Artifact trademanage:war: Deploy took 72,693 milliseconds
DEBUG 09:48:32 UrlMappingImpl.get(101)-->Found mapping for [POST] path=/platform/login/doLogin : LoginAt.doLogin(LoginAt.java:130)
DEBUG 09:48:32 NutIoc.get(151)-->Get 'shiroUtil'<class com.wonders.util.ShiroUtil>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=shiroUtil
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(shiroUtil) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'shiroUtil'<class com.wonders.util.ShiroUtil>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'shiroUtil' to [app] 
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dateUtil'<class com.wonders.util.DateUtil>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=dateUtil
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dateUtil) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'dateUtil'<class com.wonders.util.DateUtil>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'dateUtil' to [app] 
DEBUG 09:48:32 NutIoc.get(151)-->Get 'loginAt'<class com.wonders.LoginAt>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=loginAt
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(loginAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'loginAt'<class com.wonders.LoginAt>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'loginAt' to [app] 
DEBUG 09:48:32 ReferTypeValue.get(64)-->name=userService not found, search for type=com.wonders.tiles.authority.service.SysUserService
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREPEATABLE_READ
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREPEATABLE_READ) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=dao
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=uploadFileContext
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(uploadFileContext) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=log
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(log) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREAD_UNCOMMITTED
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREAD_UNCOMMITTED) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=myUpload
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(myUpload) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREAD_COMMITTED
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREAD_COMMITTED) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=tmpFilePool
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(tmpFilePool) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txSERIALIZABLE
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txSERIALIZABLE) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txNONE
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txNONE) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=dataSource
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=$aop
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject($aop) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractRevokedAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bankInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysUserServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(151)-->Get 'sysUserServiceImpl'<interface com.wonders.tiles.authority.service.SysUserService>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=sysUserServiceImpl
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysUserServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'sysUserServiceImpl'<interface com.wonders.tiles.authority.service.SysUserService>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'sysUserServiceImpl' to [app] 
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dao'<>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dao'<>
DEBUG 09:48:32 EntityService.<init>(41)-->Get TypeParams for self : com.wonders.tiles.authority.entity.User
DEBUG 09:48:32 ReferTypeValue.get(64)-->name=sysMenuService not found, search for type=com.wonders.tiles.authority.service.SysMenuService
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREPEATABLE_READ
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREPEATABLE_READ) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=dao
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=uploadFileContext
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(uploadFileContext) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=log
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(log) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREAD_UNCOMMITTED
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREAD_UNCOMMITTED) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=myUpload
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(myUpload) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txREAD_COMMITTED
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txREAD_COMMITTED) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=tmpFilePool
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(tmpFilePool) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txSERIALIZABLE
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txSERIALIZABLE) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=txNONE
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(txNONE) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=dataSource
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 MapLoader.load(67)-->Loading define for name=$aop
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject($aop) in JsonLoader(paths=[ioc/])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractRevokedAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bankInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysUserServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dateUtil) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(blockService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysRoleServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zTTradeRecordAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(assigneeExpansibilityAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(price) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(loginAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(srrkzAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(statFormAction) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bidsExpandAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(ztTbAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(constructionInspectionAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(corpInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(detailQueryService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(deliverDelivAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(transactionBehaviorAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(materialAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(siteExploreAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(statFormService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(newsInformationAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(landPlanAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(saveDreamOfficeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(blockInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zrJdrKzAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(remisePeopleAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(publishNoticeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(mainService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(serviceInformationAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(template) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dynamicMonitorSystemAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(statisticsAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(autoCrudService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bHPublishNoticeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(selectNumAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dealLandAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bankClient) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zrgyAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractClassificationAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(policy) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(competitorAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(noticeService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(deliverSupAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zyryyjAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(preAppBondAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bidderMainAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(errView) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(creditBlockInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(preAppInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(autoCrudAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(purAgeOrgAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractCommentAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zBPeopleExpansibilityAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(fullBlockAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dicConfigManager) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(notarialOfficeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(statusInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(spotTradeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(constructionEvaluationAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(notarialInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(preAppAuditAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(transactionDataAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(detailQueryAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(pushPortalService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(institutionalFunctionAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(gongYingShangAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zyryzgAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(calculationAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractVersionAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zyryAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractHistoryAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(constructionStartAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(jGAlertAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractSuperviseAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(jGProjectAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(test) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(openDreamOfficeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(nutShiroMethodInterceptor) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(complaintAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bankOperationService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(contractAfterAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(bidderAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(planNoticeAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(financialTransAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(systemService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(channelAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(parcelInfoAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(zBOrgDlAt) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(dynamicMonitorSystemService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysMenuServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(151)-->Get 'sysMenuServiceImpl'<interface com.wonders.tiles.authority.service.SysMenuService>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=sysMenuServiceImpl
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sysMenuServiceImpl) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'sysMenuServiceImpl'<interface com.wonders.tiles.authority.service.SysMenuService>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'sysMenuServiceImpl' to [app] 
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dao'<>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dao'<>
DEBUG 09:48:32 EntityService.<init>(41)-->Get TypeParams for self : com.wonders.tiles.authority.entity.Authority
DEBUG 09:48:32 NutIoc.get(151)-->Get 'sLogService'<class com.wonders.slog.SLogService>
DEBUG 09:48:32 NutIoc.get(177)-->	 >> Load definition name=sLogService
DEBUG 09:48:32 ComboIocLoader.load(161)-->Found IocObject(sLogService) in AnnotationIocLoader(packages=[com.wonders])
DEBUG 09:48:32 NutIoc.get(209)-->	 >> Make...'sLogService'<class com.wonders.slog.SLogService>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 NutIoc.get(151)-->Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
DEBUG 09:48:32 ScopeContext.save(64)-->Save object 'sLogService' to [app] 
DEBUG 09:48:32 NutIoc.get(151)-->Get 'dao'<interface org.nutz.dao.Dao>
DEBUG 09:48:56 NutIoc.get(151)-->Get 'sysUserServiceImpl'<class com.wonders.tiles.authority.service.impl.SysUserServiceImpl>
DEBUG 09:48:57 NutDaoExecutor.printSQL(388)-->SELECT * FROM (SELECT T.*, ROWNUM RN FROM ( SELECT * FROM sys_user  WHERE loginname=?) T WHERE ROWNUM <= 1) WHERE RN > 0 
    |        1 |
    |----------|
    | tj_admin |
  For example:> "SELECT * FROM (SELECT T.*, ROWNUM RN FROM ( SELECT * FROM sys_user  WHERE loginname='tj_admin') T WHERE ROWNUM <= 1) WHERE RN > 0 "
DEBUG 09:48:58 NutDaoExecutor.printSQL(388)-->SELECT * FROM sys_role  WHERE id IN (SELECT roleId FROM sys_user_role WHERE userId=NULL)
DEBUG 09:48:58 NutDaoExecutor.printSQL(388)-->SELECT * FROM sys_unit  WHERE id IN (SELECT unitId FROM sys_user_unit WHERE userId=NULL)
DEBUG 09:48:58 NutDaoExecutor.printSQL(388)-->SELECT * FROM sys_unit  WHERE id IS NULL 
DEBUG 09:48:58 NutDaoExecutor.printSQL(388)-->select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and  b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId=? and d.disabled='0') and a.disabled='0' and a.isShow='1' and a.type='menu' order by a.location ASC,a.path asc
    |    1 |
    |------|
    | NULL |
  For example:> "select distinct a.* from sys_menu a,sys_role_menu b where a.id=b.menuId and  b.roleId in(select c.roleId from sys_user_role c,sys_role d where c.roleId=d.id and c.userId='NULL' and d.disabled='0') and a.disabled='0' and a.isShow='1' and a.type='menu' order by a.location ASC,a.path asc"

怎么日志里面没有你贴的"AuthenticationException"??

ehcache也没配好?

ehcache.xml 配好了啊~~

<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false"
    monitoring="autodetect" dynamicConfig="true" name="nutzwk">
    <diskStore path="ehcache.disk.store.dir/nutzwk"/>
    <cache name="shiro-activeSessionCache"
           maxElementsInMemory="1000"
           overflowToDisk="true"
           eternal="true"
           timeToLiveSeconds="0"
           timeToIdleSeconds="0"
           diskPersistent="true"
           diskExpiryThreadIntervalSeconds="600"/>

    <defaultCache maxElementsInMemory="10000" eternal="false"
                  timeToIdleSeconds="86400" timeToLiveSeconds="86400" overflowToDisk="false"
                  diskPersistent="false" diskExpiryThreadIntervalSeconds="120"
                  statistics="false" />
</ehcache>

怎么日志里面没有你贴的"AuthenticationException"??

是的 日志里没有打印,我是在debug的时候看到的

debug什么类的什么代码的时候看到的?

另外, 报cacheManager找不到,是因为没加ehcache.js, 没声明ehcache相关的ioc bean

下面的异常看不出是哪里问题吗?

org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [com.nutz.shrio.token.CaptchaToken - tj_admin, rememberMe=false (0:0:0:0:0:0:0:1)].  Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).

subject.login(token);抛出下面的异常

Submitted credentials for token [com.wonders.shrio.token.CaptchaToken - tj_admin, rememberMe=false (0:0:0:0:0:0:0:1)] did not match the expected credentials.
subject.login(token);

是在哪个类的什么方法的调用? 给出上下文啊

话说,你这是刚刚开始集成?按最新的文档走嘛

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