2017-02-03 15:11:10,012 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=snlnkifaqcga7qrhnjmba55ljm
2017-02-03 15:11:10,022 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=v9q9cncqmmilrqpo9e1tddltb3:snlnkifaqcga7qrhnjmba55ljm
2017-02-03 15:11:10,030 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/front/memberAgent/showEditContact : FrontMemberAgentController.showEditContact(FrontMemberAgentController.java:198)
2017-02-03 15:11:10,031 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2017-02-03 15:11:10,032 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2017-02-03 15:11:10,032 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2017-02-03 15:11:10,033 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'frontMemberAgentController'<class cn.bphc.exp.modules.controllers.front.FrontMemberAgentController>
2017-02-03 15:11:10,034 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=frontMemberAgentController
2017-02-03 15:11:10,035 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(frontMemberAgentController) in AnnotationIocLoader(packages=[cn.bphc.exp])
2017-02-03 15:11:10,036 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'frontMemberAgentController'<class cn.bphc.exp.modules.controllers.front.FrontMemberAgentController>
2017-02-03 15:11:10,048 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:44) DEBUG - [GET ]URI=/front/memberAgent/showEditContact 17ms
2017-02-03 15:11:10,049 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN - Error@/front/memberAgent/showEditContact :
org.nutz.ioc.IocException: [frontMemberAgentController] # For object [frontMemberAgentController] - type:[class cn.bphc.exp.modules.controllers.front.FrontMemberAgentController]
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.bphc.exp.common.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:36)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:34)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at cn.bphc.exp.common.filter.FrontSessionFilter.doFilter(FrontSessionFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at cn.bphc.exp.common.filter.RouteFilter.doFilter(RouteFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.el.ElException: 无法解析!
at org.nutz.el.parse.Converter.parseItem(Converter.java:142)
at org.nutz.el.parse.Converter.initItems(Converter.java:80)
at org.nutz.el.arithmetic.ShuntingYard.parseToRPN(ShuntingYard.java:81)
at org.nutz.el.El.(El.java:20)
at cn.bphc.exp.common.services.log.SLogAopInterceptor.(SLogAopInterceptor.java:44)
at cn.bphc.exp.common.services.log.SLogAopConfigration.makeIt(SLogAopConfigration.java:25)
at cn.bphc.exp.common.services.log.SLogAopConfigration.makeIt(SLogAopConfigration.java:18)
at org.nutz.ioc.aop.SimpleAopMaker.getInterceptorPairList(SimpleAopMaker.java:117)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:64)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:36)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
... 57 more
2017-02-03 15:11:10,099 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=snlnkifaqcga7qrhnjmba55ljm
2017-02-03 15:11:10,106 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=v9q9cncqmmilrqpo9e1tddltb3:snlnkifaqcga7qrhnjmba55ljm
3 回复
public class SysEmployee {
@Name//字符主键
@Prev(els = { @EL("uuid(16)") })
@Comment("uuid主键唯一")//字段注释
@ColDefine(type = ColType.VARCHAR,width = 32)//字段类型
private String uuid;
// room = fetch(cnd);
// room.setUsed("Yes");
// room.setVersion(room.getVersion+1); 不要动version!!!!
// dao().updateWithVersion(root);
//
// @Column(version=true)
// private Long version;
@Comment("版本")
//@Column(version=true)
private Integer version;
//@Name//字符主键
@Prev(els = { @EL("uuid(16)") })
@Comment("员工编号")//字段注释
@ColDefine(type = ColType.VARCHAR,width = 16)//字段类型
private String bm;
这样报错,写一个不会下面的不会报错
@Prev(els = { @EL("uuid(16)") })
但是这两个字段我都要自动生成UUID需要怎么操作呢~
添加回复
请先登陆