Seeing java.lang.NoSuchMethodError at runtime in JBoss EAP
Issue
- We are Seeing the following error during runtime in
server.log:
java.lang.NoSuchMethodError org.apache.commons.lang.StringUtils.isBlank(Ljava/lang/String;)Z
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/siprocess]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class com.olr.listner.SpringListner: java.lang.NoSuchMethodError: org.springframework.util.Assert.noNullElements([Ljava/lang/Object;Ljava/lang/String;)V
- Getting issue unable to find Method
"NoSuchMethodError"for one of my application class's method. We are migrating our product fromjboss-as-7.1.1-finalrunning on window platform to EAP 6.3 on domain mode under Linux platform. War has been deployed successfully, but while accessing the application it through"NoSuchMethodError"ERROR on EAP 6 version, however same war is working without any issue on JBoss AS version.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
