java.io.FileNotFoundException: target/nexus/war/WEB-INF/log4j.properties (No such file or directory)

Sonatype JIRA | Peter Lynch | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {noformat} java.io.FileNotFoundException: target/nexus/war/WEB-INF/log4j.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at java.io.FileReader.<init>(FileReader.java:55) at org.sonatype.nexus.integrationtests.nexus3860.AbstractCargoIT.fixLog4jProperties(AbstractCargoIT.java:120) at org.sonatype.nexus.integrationtests.nexus3860.AbstractCargoIT.startContainer(AbstractCargoIT.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:443) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:160) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:90) at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:183) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115) at org.testng.TestRunner.runWorkers(TestRunner.java:909) at org.testng.TestRunner.privateRun(TestRunner.java:618) at org.testng.TestRunner.run(TestRunner.java:499) at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) at org.testng.SuiteRunner.run(SuiteRunner.java:204) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915) at org.testng.TestNG.runSuitesLocally(TestNG.java:879) at org.testng.TestNG.run(TestNG.java:787) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:78) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) {noformat}

    Sonatype JIRA | 6 years ago | Peter Lynch
    java.io.FileNotFoundException: target/nexus/war/WEB-INF/log4j.properties (No such file or directory)
  2. 0

    ftb pack freezes when opening world

    GitHub | 4 years ago | nag3000
    java.io.FileNotFoundException: /Users/prestonsettle/Desktop/untitled folder/logindata (No such file or directory)
  3. 0

    java.io.FileNotFoundException

    GitHub | 4 years ago | mtelka
    java.io.FileNotFoundException: /var/opt/opengrok/src/illumos-gate/usr/src/tools/scripts/build_osnet.sh (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileNotFoundException running JBehave (Maven Project, IntelliJ)

    Stack Overflow | 2 years ago
    java.io.FileNotFoundException: C:\Source\DataLoader\target\jbehave\storyDurations.props (The system cannot find the file specified)
  6. 0

    [android] Using Android SDK: /opt/android-sdk-linux [android] Creating Android AVD: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd ERROR: Failed to parse POMs java.io.FileNotFoundException: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd/config.ini (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at java.io.FileReader.<init>(FileReader.java:55) at hudson.plugins.android_emulator.util.Utils.parseConfigFile(Utils.java:349) at hudson.plugins.android_emulator.EmulatorConfig.parseAvdConfigFile(EmulatorConfig.java:234) at hudson.plugins.android_emulator.EmulatorConfig.access$300(EmulatorConfig.java:26) at hudson.plugins.android_emulator.EmulatorConfig$EmulatorConfigTask.call(EmulatorConfig.java:577) at hudson.plugins.android_emulator.EmulatorConfig$EmulatorConfigTask.call(EmulatorConfig.java:553) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.android_emulator.AndroidEmulator.doSetUp(AndroidEmulator.java:250) at hudson.plugins.android_emulator.AndroidEmulator.setUp(AndroidEmulator.java:220) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:602) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:478) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Archiving artifacts Finished: FAILURE

    Jenkins JIRA | 5 years ago | Marton Meszaros
    java.io.FileNotFoundException: /var/lib/jenkins/.android/avd/hudson_en-US_217_WVGA_android-10.avd/config.ini (No such file or directory)

  1. stigkj 1 times, last 3 weeks ago
  2. tomthomas 1 times, last 3 weeks ago
  3. carloscharx 1 times, last 1 month ago
  4. jshakil 1 times, last 6 months ago
  5. serious2monkeys 4 times, last 6 months ago
8 more registered users
19 unregistered visitors
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

    target/nexus/war/WEB-INF/log4j.properties (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileReader.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:120)
    3. java.io.FileReader.<init>(FileReader.java:55)
    3 frames
  3. org.sonatype.nexus
    AbstractCargoIT.startContainer
    1. org.sonatype.nexus.integrationtests.nexus3860.AbstractCargoIT.fixLog4jProperties(AbstractCargoIT.java:120)
    2. org.sonatype.nexus.integrationtests.nexus3860.AbstractCargoIT.startContainer(AbstractCargoIT.java:91)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. TestNG
    TestNG.run
    1. org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:443)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:160)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:90)
    5. org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:183)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
    7. org.testng.TestRunner.runWorkers(TestRunner.java:909)
    8. org.testng.TestRunner.privateRun(TestRunner.java:618)
    9. org.testng.TestRunner.run(TestRunner.java:499)
    10. org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
    11. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
    12. org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
    13. org.testng.SuiteRunner.run(SuiteRunner.java:204)
    14. org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915)
    15. org.testng.TestNG.runSuitesLocally(TestNG.java:879)
    16. org.testng.TestNG.run(TestNG.java:787)
    16 frames
  6. org.apache.maven
    TestNGProvider.invoke
    1. org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
    2. org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
    3. org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
    3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
    4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:78)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
    5 frames