ssh整合问题:启动tomcat时报错org.springframework.beans.factory.BeanCreationException

  • Post author:
  • Post category:其他

BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in ServletContext resource [/WEB-INF/classes/config/spring/spring-baseConfig.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;



问题可能是:

包冲突 

检查发布出去的lib中是否有相同名字的log包

检查tomcat lib中是否有项目中相同的jar包

有多的 移除版本低得那个


版权声明:本文为scl1991原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。