java.io.FileNotFoundException: /home/pavel/tmp/3/schema.xsd (No such file or directory)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error occurs while trying to generate REST API bindings with wadl2java from file stash-rest.wadl.xml, supplied in the [REST API documentation page|https://developer.atlassian.com/static/rest/stash/3.5.0/stash-rest.html] {code} user@machine:~/tmp/3> wadl-dist-1.1.6/bin/wadl2java -o bindings -s jaxrs20 -p org.qqqq stash-rest.wadl.xml Info: Processing: file:/home/pavel/tmp/3/stash-rest.wadl.xml Info: Processing: file:/home/pavel/tmp/3/schema.xsd java.io.FileNotFoundException: /home/pavel/tmp/3/schema.xsd (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1037) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:561) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:502) at org.jvnet.ws.wadl.ast.WadlAstBuilder.buildAst(WadlAstBuilder.java:113) at org.jvnet.ws.wadl2java.Wadl2Java.process(Wadl2Java.java:431) at org.jvnet.ws.wadl2java.Main.main(Main.java:143) {code} There are couple of discussions [here|https://answers.atlassian.com/questions/224371/stash-rest-wadl] and [here|https://answers.atlassian.com/questions/315829/how-to-generate-rest-bindings-for-stash] in Atlassian answers. I have not managed to generate bindings at all.
    via by Pavel Baranchikov,
  • Error occurs while trying to generate REST API bindings with wadl2java from file stash-rest.wadl.xml, supplied in the [REST API documentation page|https://developer.atlassian.com/static/rest/stash/3.5.0/stash-rest.html] {code} user@machine:~/tmp/3> wadl-dist-1.1.6/bin/wadl2java -o bindings -s jaxrs20 -p org.qqqq stash-rest.wadl.xml Info: Processing: file:/home/pavel/tmp/3/stash-rest.wadl.xml Info: Processing: file:/home/pavel/tmp/3/schema.xsd java.io.FileNotFoundException: /home/pavel/tmp/3/schema.xsd (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1037) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:561) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:502) at org.jvnet.ws.wadl.ast.WadlAstBuilder.buildAst(WadlAstBuilder.java:113) at org.jvnet.ws.wadl2java.Wadl2Java.process(Wadl2Java.java:431) at org.jvnet.ws.wadl2java.Main.main(Main.java:143) {code} There are couple of discussions [here|https://answers.atlassian.com/questions/224371/stash-rest-wadl] and [here|https://answers.atlassian.com/questions/315829/how-to-generate-rest-bindings-for-stash] in Atlassian answers. I have not managed to generate bindings at all.
    via by Pavel Baranchikov,
  • Jersey 1 cannot scan nested jars
    via GitHub by dsyer
    ,
  • URL.openStream throws an error
    via by Unknown author,
  • GitHub comment 644#129034580
    via GitHub by jimmidyson
    ,
    • java.io.FileNotFoundException: /home/pavel/tmp/3/schema.xsd (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at java.net.URL.openStream(URL.java:1037) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:561) at org.jvnet.ws.wadl.ast.WadlAstBuilder.processDescription(WadlAstBuilder.java:502) at org.jvnet.ws.wadl.ast.WadlAstBuilder.buildAst(WadlAstBuilder.java:113) at org.jvnet.ws.wadl2java.Wadl2Java.process(Wadl2Java.java:431) at org.jvnet.ws.wadl2java.Main.main(Main.java:143)

    Users with the same issue

    rocday
    rocday4 times, last one,
    rp
    rp4 times, last one,
    Nikolay Rybak
    Nikolay Rybak2 times, last one,
    stigkj
    stigkj2 times, last one,
    Hronom
    Hronom3 times, last one,
    110 more bugmates