Код: Выделить всё
SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [faultTolerantFilter]
java.lang.AbstractMethodError
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:292)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:471)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:728)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:746)
Код: Выделить всё
List config = dao.find(Configuration.class);Код: Выделить всё
public List find(final Class clazz) {
return find(clazz, null);
}
Код: Выделить всё
public List find(final Class clazz, final QueryBuilder queryBuilder) {
try {
MDC.put(clazz.getSimpleName(), clazz.getSimpleName());
return getResults(queryBuilder, getSessionStartingTransactionIfNecessary().createCriteria(clazz));
} catch (SQLGrammarException e) {
throw new DataAccessException(e.getMessage(), e);
} catch (HibernateException e) {
throw new DataAccessException(e.getMessage(), e);
} finally {
MDC.remove(clazz.getSimpleName());
}
}

В чем причина этой проблемы? Этот фрагмент кода работал отлично, и я не трогал его во время обновления Hibernate.
Я не вносил никаких изменений в pom.xml, кроме обновления версии Hibernate.
Подробнее здесь: https://stackoverflow.com/questions/791 ... -hibernate
Мобильная версия