I have developed one application using struts2 and hibernate, which is integrated with Life-ray portal. When ever I am trying to run that application using j-boss5 server then am getting following error.
ERROR [STDERR] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"
ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
I am not able to load HibernateSessionFactory
class.
Please let me know the solution for that.
Thanks in advance.
Slf4J requires one and only one of - slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar
Depending on your requirements you'll need to download one of the jars and add in classpath.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.