无法在jboss中手动部署.war(wildfly)

时间:2014-02-17 14:30:02

标签: java eclipse maven jboss intellij-idea

所以,不能在jboss(wildfly 8 final)中部署.war,抓住这个错误

{"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"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 'bookCommentsDAOImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.education.Dao.BookComments.Comments.BookCommentsDAOImpl.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 'bookCommentsDAOImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.education.Dao.BookComments.Comments.BookCommentsDAOImpl.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.BookComments.Comments.BookCommentsDAOImpl.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"}}}}

但是在我当地的野蝇8上一切正常。有了Intellij想法在本地机器上构建这个战争,然后上传到远程jboss并抓住它。怎么解决?

0 个答案:

没有答案