开发环境:
win7 64bit
myeclips2014 新建java project se-1.6
oracle 11g
1、jar包问题
报出错误:
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
解决方案:
网上下载slf4j-api-1.6.1替换slf4j-api-1.5.8错误消失
2、log4j.properties配置问题
报出警告:
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.