2008-06-04
HTTPStatus500错误的解决
程序中的对应语句是THROW语句thrownewExceptionInInitializerError(ex);具体如下:try{sessionFactory=newConfiguration()。 configure()。buildSessionFactory();}catch(Throwableex){ intStackTrace();// (ex);}第二次运行时候是这个错误!上面那个错误只出现一次!然后一直是出现这个错误!错误提示: ng。 NoClassDefFoundError程序中对应的这句:Sessionsession= rrentSession();解决方法:把HIB...全部
程序中的对应语句是THROW语句thrownewExceptionInInitializerError(ex);具体如下:try{sessionFactory=newConfiguration()。
configure()。buildSessionFactory();}catch(Throwableex){ intStackTrace();// (ex);}第二次运行时候是这个错误!上面那个错误只出现一次!然后一直是出现这个错误!错误提示: ng。
NoClassDefFoundError程序中对应的这句:Sessionsession= rrentSession();解决方法:把HIBERNATE的JAR10个需要的包COPY到工程的LIB目录下(如果你在JAVA构建路径,通过添加外部JAR包,添加了那几个必须的包,在此还要把他们COPY到工程的LIB目录下!)。
收起