remote failure: Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/hibernate-config.xml]: Invocation of init method failed; nested exception is java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory. Please see server.log for more details.
我得到了上面的错误,但我的项目中有slf4j-api-1.5.2
jars slf4j12-1.5.2
。我搜索了这个错误,大家都说你的项目没有slf4j
jar或者你必须升级你的jar文件。我保证有这两种情况。现在我不知道我必须做什么。提前致谢。