java.io.FileNotFoundException: C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)

Spring JIRA | Ray Davis | 8 years ago
  1. 0

    Downloaded and unpacked "spring-osgi-1.1.3-with-dependencies.zip", went to "src/samples", issued "mvn -P equinox clean install" and got a series of failures in SimpleServiceBundleTest: ... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.springframework.osgi.samples.simpleservice.test.SimpleServiceBundleTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.141 sec <<< FAILURE! testOSGiStartedOk(org.springframework.osgi.samples.simpleservice.test.SimpleServiceBundleTest) Time elapsed: 0.937 sec <<< ERROR! java.io.FileNotFoundException: C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:108) at org.springframework.osgi.test.AbstractOsgiTests.installBundle(AbstractOsgiTests.java:323) at org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:253) at org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374) at org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203) at org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184) at junit.framework.TestResult.runProtected(TestResult.java:124) at org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181) ... Fixing them was just a matter of adding a few dependencies to "samples/simple-service/simple-service-integration-test": <dependency> <groupId>org.aopalliance</groupId> <artifactId>com.springsource.org.aopalliance</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-annotation</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-extender</artifactId> <scope>test</scope> </dependency>

    Spring JIRA | 8 years ago | Ray Davis
    java.io.FileNotFoundException: C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)
  2. 0

    Downloaded and unpacked "spring-osgi-1.1.3-with-dependencies.zip", went to "src/samples", issued "mvn -P equinox clean install" and got a series of failures in SimpleServiceBundleTest: ... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.springframework.osgi.samples.simpleservice.test.SimpleServiceBundleTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.141 sec <<< FAILURE! testOSGiStartedOk(org.springframework.osgi.samples.simpleservice.test.SimpleServiceBundleTest) Time elapsed: 0.937 sec <<< ERROR! java.io.FileNotFoundException: C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:108) at org.springframework.osgi.test.AbstractOsgiTests.installBundle(AbstractOsgiTests.java:323) at org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:253) at org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374) at org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203) at org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184) at junit.framework.TestResult.runProtected(TestResult.java:124) at org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181) ... Fixing them was just a matter of adding a few dependencies to "samples/simple-service/simple-service-integration-test": <dependency> <groupId>org.aopalliance</groupId> <artifactId>com.springsource.org.aopalliance</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-annotation</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.osgi</groupId> <artifactId>spring-osgi-extender</artifactId> <scope>test</scope> </dependency>

    Spring JIRA | 8 years ago | Ray Davis
    java.io.FileNotFoundException: C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)
  3. 0

    JDK 6 build fails (again)

    Google Groups | 9 years ago | Mario Scalas
    java.io.FileNotFoundException: /home/mario/.m2/repository/org/springframework/osgi/spring-osgi-annotation/1.0-m3-SNAPSHOT/spring-osgi-annotation-1.0-m3-SNAPSHOT.jar (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    build error

    Google Groups | 9 years ago | Wouter
    java.io.FileNotFoundException: /home/wouter/.m2/repository/org/ springframework/osgi/spring-osgi-annotation/1.0-m3-SNAPSHOT/spring- osgi-annotation-1.0-m3-SNAPSHOT.jar (No such file or directory)
  6. 0

    graph-builder.xml problems

    GitHub | 5 years ago | mkarakum
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [C:\Users\m\git\OpenTripPlanner]; nested exception is java.io.FileNotFoundException: C:\Users\m\git\OpenTripPlanner (Access is denied)

  1. gehel 2 times, last 1 week ago
  2. Kialandei 100 times, last 1 week ago
  3. Reich 1 times, last 2 weeks ago
  4. bluebunnty 1 times, last 2 weeks ago
  5. Aria Pahlavan 1 times, last 2 weeks ago
43 more registered users
52 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

    C:\Documents and Settings\ray\.m2\repository\org\aopalliance\com.springsource.org.aopalliance\1.0.0\com.springsource.org.aopalliance-1.0.0.jar (The system cannot find the path specified)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    2 frames
  3. Spring Core
    FileSystemResource.getInputStream
    1. org.springframework.core.io.FileSystemResource.getInputStream(FileSystemResource.java:108)
    1 frame
  4. org.springframework.osgi
    AbstractOsgiTests$1.protect
    1. org.springframework.osgi.test.AbstractOsgiTests.installBundle(AbstractOsgiTests.java:323)
    2. org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:253)
    3. org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374)
    4. org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203)
    5. org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184)
    5 frames
  5. JUnit
    TestResult.runProtected
    1. junit.framework.TestResult.runProtected(TestResult.java:124)
    1 frame
  6. org.springframework.osgi
    AbstractOsgiTests.run
    1. org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181)
    1 frame