log4j hibernate error
问题 I get this error when configurating my hibernate log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version). log4j:WARN Please initialize the log4j system properly. here is the line of code Configuration config = new AnnotationConfiguration().configure("HibernatePositionServer.cfg.xml"); and here is my cfg file <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate