Доброго времени суток. При развертывании на удаленном сервере через панель управления(порт 9990) возникает следующая ошибка
Unexpected HTTP response: 500
Request
{
"address" => [("deployment" => "education.war")],
"operation" => "deploy"
}
Response
Internal Server Error
{
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./education" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./education: Failed to start service
Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailDAOImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.education.Dao.Email.EmailDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/data.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailDAOImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.education.Dao.Email.EmailDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/data.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.education.Dao.Email.EmailDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/data.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/data.xml]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
Caused by: java.lang.IncompatibleClassChangeError: Implementing class"}},
"rolled-back" => true
}
Как я понял - проблема в Impl классах, вроде DAO и сервисов, но при этом на локальном сервере все отлично работает. Как решать?