java hibernate unable to read xml -


i try build simple crud app using java hibernate 3.6, i've got problem, when try run, error, this:

slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details. inisialisasi sessionfactory failed org.hibernate.invalidmappingexception: unable read xml exception in thread "awt-eventqueue-0" java.lang.exceptionininitializererror 

any suggestion please? thanks's,

public class hibernateutil {  private static final sessionfactory sessionfactory; private static final orangdao orangdao;  static {     try {         sessionfactory = new annotationconfiguration().configure().buildsessionfactory();         orangdao = new orangdaoimpl(sessionfactory);     } catch (throwable e) {         system.err.println("inisialisasi sessionfactory gagal "+e);         throw new exceptionininitializererror(e);     } }  public static orangdao getpersondao() {     return orangdao; }  public static sessionfactory getsessionfactory() {     return sessionfactory; }  } 


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -