qq_30513665 2016-05-16 03:21 采纳率: 0%
浏览 2747

maven 项目 启动 jetty:run 报错

第一次使用,毫无头绪

log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
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.
[WARNING] Failed startup of context o.m.j.p.JettyWebAppContext{/home,file:/E:/workspace/maven.1463123350245/WHT/WHT-Main/src/main/webapp/},file:/E:/workspace/maven.1463123350245/WHT/WHT-Main/src/main/webapp/
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in class path resource [spring/spring-config-shiro.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in class path resource [spring/spring-config-shiro.xml]: Cannot resolve reference to bean 'userRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [cn.whtedu.apache.shiro.realm.UserRealm] for bean with name 'userRealm' defined in class path resource [spring/spring-config-shiro.xml]; nested exception is java.lang.ClassNotFoundException: cn.whtedu.apache.shiro.realm.UserRealm
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [cn.whtedu.apache.shiro.credentials.RetryLimitCredentialsMatcher] for bean with name 'credentialsMatcher' defined in class path resource [spring/spring-config-shiro.xml]; nested exception is java.lang.ClassNotFoundException: cn.whtedu.apache.shiro.credentials.RetryLimitCredentialsMatcher
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [cn.whtedu.apache.shiro.realm.UserRealm] for bean with name 'userRealm' defined in class path resource [spring/spring-config-shiro.xml]; nested exception is java.lang.ClassNotFoundException: cn.whtedu.apache.shiro.realm.UserRealm
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [cn.whtedu.apache.shiro.credentials.RetryLimitCredentialsMatcher] for bean with name 'credentialsMatcher' defined in class path resource [spring/spring-config-shiro.xml]; nested exception is java.lang.ClassNotFoundException: cn.whtedu.apache.shiro.credentials.RetryLimitCredentialsMatcher
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [cn.whtedu.apache.shiro.realm.UserRealm] for bean with name 'userRealm' defined in class path resource [spring/spring-config-shiro.xml]; nested exception is java.lang.ClassNotFoundException: cn.whtedu.apache.shiro.realm.UserRealm

  • 写回答

3条回答

  • ZhangPan18 2016-05-16 03:28
    关注

    应该是log4j没配置好吧

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器