java.io.FileNotFoundException: c:\log4j2.xml (The system cannot find the file specified)

Stack Overflow | Girish | 2 months ago
  1. 0

    spring boot log4j2 error

    Stack Overflow | 2 months ago | Girish
    java.io.FileNotFoundException: c:\log4j2.xml (The system cannot find the file specified)
  2. 0

    autoHotSwap=true and JSP problem, caused Tomcat crash.

    GitHub | 1 year ago | derekhsu
    java.lang.IllegalArgumentException: java.io.FileNotFoundException: D:\dpms\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\xx\org\apache\jsp\WEB_002dINF\views\xx\demo\xxa1_jsp.classtmp (系統找不到指定的檔案。)
  3. 0

    DCEVM with Maven and GWT

    Stack Overflow | 1 year ago | Troncoso
    java.lang.IllegalArgumentException: java.io.FileNotFoundException: <pathto>\data\build\target\classes\<packageto>\DashboardWidget$DashboardWidgetMetaData.class (The system cannot find the file specified)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Too many open files

    GitHub | 1 year ago | reagere
    java.io.FileNotFoundException: /tmp/jetty-0.0.0.0-8080-globulus.war-_globulus-any-7404471105146041798.dir/webapp/WEB-INF/classes/hbase-site.xml (Too many open files)
  6. 0

    cmu sphinx4 java - Runtime exception caused by FileNotFoundException

    Stack Overflow | 1 year ago | M3579
    java.lang.RuntimeException: Allocation of search manager resources failed
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.io.FileNotFoundException

    c:\log4j2.xml (The system cannot find the file specified)

    at java.io.FileInputStream.open0()
  2. Java RT
    URL.openStream
    1. java.io.FileInputStream.open0(Native Method)
    2. java.io.FileInputStream.open(FileInputStream.java:195)
    3. java.io.FileInputStream.<init>(FileInputStream.java:138)
    4. java.io.FileInputStream.<init>(FileInputStream.java:93)
    5. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    6. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    7. java.net.URL.openStream(URL.java:1038)
    7 frames
  3. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.config.ConfigurationFactory.getInputFromUri(ConfigurationFactory.java:299)
    2. org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:463)
    3. org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:400)
    4. org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:257)
    5. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:565)
    6. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:582)
    7. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:217)
    8. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
    9. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
    9 frames
  4. Apache Log4j API
    AbstractLoggerAdapter.getContext
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
    2. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
    2 frames
  5. Apache Log4j SLF4J Binding
    Log4jLoggerFactory.getContext
    1. org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
    1 frame
  6. Apache Log4j API
    AbstractLoggerAdapter.getLogger
    1. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
    1 frame
  7. Apache Log4j SLF4J Binding
    Log4jLoggerFactory.getLogger
    1. org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
    1 frame
  8. SLF4J API Module
    LoggerFactory.getLogger
    1. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
    1 frame
  9. Apache Commons Logging
    LogFactory.getLog
    1. org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
    2. org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
    3. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
    3 frames
  10. Spring Boot
    SpringApplication.<clinit>
    1. org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:189)
    1 frame
  11. hello
    Application.main
    1. hello.Application.main(Application.java:11)
    1 frame