Error “java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger”

余生长醉 提交于 2019-11-27 05:17:34
RAS

I solved it by removing jboss-common-client-3.2.3.jar.

Got the same problem with org.jboss.logging-3.1.0.GA needed by Springframework 4.1.3 Final.

The solution for me was to exclude org.jboss.logging coming from Hibernate and add org.jboss.logging-3.2.0.Final to my project in the pom.xml. As specify here org.jboss.logging-3.1.0.GA (and CR2) has a failure in LoggerProviders detection and it is fixed in 3.2.0 Final Voir le Github de Jboss Logging

Is it an incorrect version of JBoss Logging jar on your client classpath? If you have JBoss 7.1.0 Final version then remove all the JAR filesfrom your classpath and add only one client JAR file (jboss-client-7.1.0.Final.jar) which is located in AS7_HOME/bin/client.

For further reference, you can see this.

I faced the same problem. I removed glassfish libraries from buildpath, and problem resolved.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!