SHOW:
|
|
- or go back to the newest paste.
| 1 | - | C:\Users\andrew\Downloads>lein self-install |
| 1 | + | c:\1>lein self-install |
| 2 | Downloading Leiningen now... | |
| 3 | Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden." | |
| 4 | - | C:\Users\andrew\Downloads>lein |
| 4 | + | At line:1 char:63 |
| 5 | + & {param($a,$f) (new-object System.Net.WebClient).DownloadFile <<<< ($a, $f)} https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar C:\Users\user\.lein\self-installs\leiningen-2.1.0-SNAPSHOT-standalone.jar.pending
| |
| 6 | - | C:\Users\andrew\.lein\self-installs\leiningen-2.0.0-standalone.jar can not be found. |
| 6 | + | + CategoryInfo : NotSpecified: (:) [], MethodInvocationException |
| 7 | - | You can try running "lein self-install" |
| 7 | + | + FullyQualifiedErrorId : DotNetMethodException |
| 8 | - | or change LEIN_JAR environment variable |
| 8 | + | |
| 9 | - | or edit lein.bat to set appropriate LEIN_JAR path. |
| 9 | + | The system cannot find the file specified. |
| 10 | ||
| 11 | ||
| 12 | $ lein | |
| 13 | Downloading Leiningen to /c/Users/user/.lein/self-installs/leiningen-2.1.0-SNAPSHOT-standalone.jar now... | |
| 14 | % Total % Received % Xferd Average Speed Time Time Time Current | |
| 15 | Dload Upload Total Spent Left Speed | |
| 16 | 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 | |
| 17 | curl: (22) The requested URL returned error: 403 | |
| 18 | Failed to download https://leiningen.s3.amazonaws.com/downloads/leiningen-2.1.0-SNAPSHOT-standalone.jar | |
| 19 | It's possible your HTTP client's certificate store does not have the | |
| 20 | correct certificate authority needed. This is often caused by an | |
| 21 | out-of-date version of libssl. Either upgrade it or set HTTP_CLIENT | |
| 22 | to turn off certificate checks: | |
| 23 | export HTTP_CLIENT="wget --no-check-certificate -O" # or | |
| 24 | export HTTP_CLIENT="curl --insecure -f -L -o" | |
| 25 | It's also possible that you're behind a firewall haven't yet | |
| 26 | set HTTP_PROXY and HTTPS_PROXY. | |
| 27 | See README.md for SNAPSHOT-specific build instructions. | |
| 28 | Exception in thread "main" java.lang.NoClassDefFoundError: clojure/main | |
| 29 | Caused by: java.lang.ClassNotFoundException: clojure.main | |
| 30 | at java.net.URLClassLoader$1.run(Unknown Source) | |
| 31 | at java.security.AccessController.doPrivileged(Native Method) | |
| 32 | at java.net.URLClassLoader.findClass(Unknown Source) | |
| 33 | at java.lang.ClassLoader.loadClass(Unknown Source) | |
| 34 | at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) | |
| 35 | at java.lang.ClassLoader.loadClass(Unknown Source) | |
| 36 | Could not find the main class: clojure.main. Program will exit. |