java.lang.NoSuchMethodError: org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V** Please help me know, how can we remove the conflict, so that, It's able to refer proper log4j1.2.15 specific LogManager. And, as jar which is using log4j is external to our system, we don't have much control over that. Below is the complete stack trace. Caused by: java.lang.NoSuchMethodError: org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V

Stack Overflow | JRishi | 4 months ago
  1. 0

    log4j and log4j-overslf4j both in classpath conflicts in LogManager

    Stack Overflow | 4 months ago | JRishi
    java.lang.NoSuchMethodError: org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V** Please help me know, how can we remove the conflict, so that, It's able to refer proper log4j1.2.15 specific LogManager. And, as jar which is using log4j is external to our system, we don't have much control over that. Below is the complete stack trace. Caused by: java.lang.NoSuchMethodError: org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V
  2. 0

    How to let Weblogic to load log4j.jar from application?

    Oracle Community | 7 years ago | 176857
    java.lang.NoSuchMethodError: org.apache.log4j.Category.getInstance(Ljava/lang/String;Lorg/apache/log4j/spi/CategoryFactory;)Lorg/apache/log4j/Category;
  3. 0

    (spring+hibernate)java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V - Java House - BlogJava

    blogjava.net | 4 months ago
    java.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ava.lang.NoSuchMethodError:org.apache.log4j.Cate

    douban.com | 8 months ago
    java.lang.reflect.InvocationTargetException
  6. 0

    java.lang.NoSuchMethodError: org.apache.log4j.Category.log | 学步园

    xuebuyuan.com | 8 months ago
    java.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V** Please help me know, how can we remove the conflict, so that, It's able to refer proper log4j1.2.15 specific LogManager. And, as jar which is using log4j is external to our system, we don't have much control over that. Below is the complete stack trace. Caused by: java.lang.NoSuchMethodError: org/apache/log4j/LogManager.setRepositorySelector(Lorg/apache/log4j/spi/RepositorySelector;Ljava/lang/Object;)V

      at com.hsbc.es.logging.def.impl.log4j.Log4jLoggingTypeProvider.setContextualRepositorySelector()
    2. com.hsbc.es
      Log4jLoggingTypeProvider.<clinit>
      1. com.hsbc.es.logging.def.impl.log4j.Log4jLoggingTypeProvider.setContextualRepositorySelector(Log4jLoggingTypeProvider.java:117)
      2. com.hsbc.es.logging.def.impl.log4j.Log4jLoggingTypeProvider.<clinit>(Log4jLoggingTypeProvider.java:97)
      2 frames
    3. Java RT
      Class.newInstance
      1. java.lang.J9VMInternals.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1887)
      2 frames
    4. com.hsbc.es
      LoggingTypeFactory.getDebugger
      1. com.hsbc.es.logging.LoggingTypeManagerFactory.discoverContextLoggingTypeManagerSPI(LoggingTypeManagerFactory.java:168)
      2. com.hsbc.es.logging.LoggingTypeManagerFactory.getContextLoggingTypeManagerSPI(LoggingTypeManagerFactory.java:98)
      3. com.hsbc.es.logging.def.LoggingTypeProviderFactory.getContextLoggingTypeProvider(LoggingTypeProviderFactory.java:49)
      4. com.hsbc.es.logging.def.LoggingTypeFactory.getDebugger(LoggingTypeFactory.java:58)
      4 frames