PyLucene make fails : [ivy:retrieve] error - ivy

I am following the instructions to install PyLucene, as given in :
https://lucene.apache.org/pylucene/install.html
The problem is when I make, ivy can't retrieve something and it fails.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured
Is it possible to download it manually and get it to work, since I have already download everything else.
I have no clue why this is not working, I am behind my university proxy server, and there's nothing I can do about the proxy server.
$make
cd lucene-java-4.9.0/lucene; (JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 /usr/bin/ant ivy-availability-check || JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 /usr/bin/ant ivy-bootstrap)
Buildfile: /home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/build.xml
ivy-availability-check:
ivy-fail:
BUILD SUCCESSFUL
Total time: 0 seconds
cd lucene-java-4.9.0/lucene/memory; JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 /usr/bin/ant -Dversion=4.9.0
Buildfile: /home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/memory/build.xml
[echo] Building memory...
check-queryparser-uptodate:
jar-queryparser:
[echo] Building queryparser...
check-queries-uptodate:
jar-queries:
check-sandbox-uptodate:
jar-sandbox:
[echo] Building sandbox...
ivy-availability-check:
[echo] Building sandbox...
ivy-fail:
ivy-configure:
[ivy:configure] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/ivy-settings.xml
resolve:
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve] You probably access the destination server through a proxy server that is not well configured.
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host repository.cloudera.com not found. url=http://repository.cloudera.com/artifactory/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host repository.cloudera.com not found. url=http://repository.cloudera.com/artifactory/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host repository.cloudera.com not found. url=http://repository.cloudera.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host repository.cloudera.com not found. url=http://repository.cloudera.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host oss.sonatype.org not found. url=http://oss.sonatype.org/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host oss.sonatype.org not found. url=http://oss.sonatype.org/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host maven.restlet.org not found. url=http://maven.restlet.org/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host maven.restlet.org not found. url=http://maven.restlet.org/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host maven.tmatesoft.com not found. url=http://maven.tmatesoft.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host maven.tmatesoft.com not found. url=http://maven.tmatesoft.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] Host uk.maven.org not found. url=http://uk.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] Host uk.maven.org not found. url=http://uk.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] module not found: jakarta-regexp#jakarta-regexp;1.4
[ivy:retrieve] ==== local: tried
[ivy:retrieve] /home/qcsproject/.ivy2/local/jakarta-regexp/jakarta-regexp/1.4/ivys/ivy.xml
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] /home/qcsproject/.ivy2/local/jakarta-regexp/jakarta-regexp/1.4/jars/jakarta-regexp.jar
[ivy:retrieve] ==== shared: tried
[ivy:retrieve] /home/qcsproject/.ivy2/shared/jakarta-regexp/jakarta-regexp/1.4/ivys/ivy.xml
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] /home/qcsproject/.ivy2/shared/jakarta-regexp/jakarta-regexp/1.4/jars/jakarta-regexp.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve] https://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] https://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== cloudera: tried
[ivy:retrieve] http://repository.cloudera.com/artifactory/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://repository.cloudera.com/artifactory/repo/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== releases.cloudera.com: tried
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy :retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://repository.cloudera.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== sonatype-releases: tried
[ivy :retrieve] http://oss.sonatype.org/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://oss.sonatype.org/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== maven.restlet.org: tried
[ivy:retrieve] http://maven.restlet.org/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://maven.restlet.org/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== svnkit-releases: tried
[ivy:retrieve] http://maven.tmatesoft.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://maven.tmatesoft.com/content/repositories/releases/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ==== working-chinese-mirror: tried
[ivy:retrieve] http://uk.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.pom
[ivy:retrieve] -- artifact jakarta-regexp#jakarta-regexp;1.4!jakarta-regexp.jar:
[ivy:retrieve] http://uk.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: jakarta-regexp#jakarta-regexp;1.4: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/module-build.xml:118: The following error occurred while executing this line:
/home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/module-build.xml:550: The following error occurred while executing this line:
/home/qcsproject/Downloads/pylucene-4.9.0-0/lucene-java-4.9.0/lucene/common-build.xml:388: impossible to resolve dependencies:
resolve failed - see output for details
Total time: 2 minutes 1 second
make: *** [lucene-java-4.9.0/lucene/build/memory/lucene-memory-4.9.0.jar] Error 1

I was struggling with this for a long while. I tried a lot of dirty tricks, like this user.
Basically, it seems the file ivy-2.3.0.jar that ant needs to build contains a com/trends directory inside the source, as it is downloaded from the maven repo predefined by the config files in the pylucene installer. In my case, those trends classes triggered a lot of java applet alert instances, asking for allowance to connect to ivy...
Additionally you could be missing to export the ANT_HOME variable.
So summing up:
Export ANT_HOME, e.g. in OS X:
export ANT_HOME=/usr/local/Cellar/ant/1.9.6/libexec
export PATH=$PATH:$ANT_HOME/bin
Use a cleanly downloaded ivy jar. Download a compressed src from here, extract the jar and "place it" in the required ant lib dir, e.g. by creating a symlink. No problem if the clean version is newer than the required. E.g., again in OS X:
ln -s <where you have ivy-2.4.0.jar> ~/.ant/lib/ivy-2.3.0.jar

Ant needs to be aware of your proxy settings.
https://ant.apache.org/manual/proxy.html
Citing from the article:
For Bash
export ANT_OPTS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"
For tcsh/csh:
setenv ANT_OPTS "-Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080"

Related

Install Julia behind proxy on my linux box

I am trying to install Julia on a linux box which is behind proxy. The installation of julia is quite easy, but the installation of modules is very exhausting.
I tried setting up https_proxy - Failed
sslVerify: false on git level - Failed
JULIA_SSL_NO_VERIFY and other variables like these - Failed.
.curlrc file with insecure in it - Failed.
searched for documentations about the libgit2 and not really helpful documents are available for this on the official page or on the internet.
Really fed up on this. Can someone help me on this please?
Error:
(v1.6) pkg> add IJulia
Installing known registries into ~/.julia
┌ Warning: could not download https://pkg.julialang.org/registries
└ # Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
┌ Warning: could not download https://pkg.julialang.org/registries
└ # Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
Cloning registry from "https://github.com/JuliaRegistries/General.git" ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:SSL, SSL error: 0xffff8e00 - SSL - An invalid SSL record was received)

Installation with Grails and IntelliJ

I'm setting up a new project in IntelliJ, but when I run the project in IntelliJ with Grails I get an error that says "Failed to resolve dependencies" Set log level to 'warn' in BuildConfig.groovy for more information. I'm not sure what to do next as far as fixing the problem.
"C:\Program Files\Java\jdk1.8.0_201\bin\java" -Dgrails.home=C:\Grails\grails-2.5.3 -Dbase.dir=C:\Users\601279\IdeaProjects "-Dtools.jar=C:\Program Files\Java\jdk1.8.0_201\lib\tools.jar" -Dgroovy.starter.conf=C:\Grails\grails-2.5.3/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -Dfile.encoding=windows-1252 -classpath C:\Grails\grails-2.5.3\lib\org.codehaus.groovy\groovy-all\jars\groovy-all-2.4.4.jar;C:\Grails\grails-2.5.3\dist\grails-bootstrap-2.5.3.jar org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf C:\Grails\grails-2.5.3/conf/groovy-starter.conf "create-app gret -plain-output"|Loading Grails 2.5.3
|Configuring classpath
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
:: problems summary ::
:::: WARNINGS
module not found: org.aspectj#aspectjweaver;1.8.5
==== grailsPlugins: tried
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\IdeaProjects\lib\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\ivy-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\jars\aspectjweaver-1.8.5.jar
C:\Grails\grails-2.5.3\lib\org.aspectj\aspectjweaver\bundles\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\dist\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.xml
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Users\601279\.grails\2.5.3\cached-installed-plugins\aspectjweaver-1.8.5.jar
==== grailsHome: tried
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.pom
-- artifact org.aspectj#aspectjweaver;1.8.5!aspectjweaver.jar:
C:\Grails\grails-2.5.3\plugins\aspectjweaver-1.8.5.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.aspectj#aspectjweaver;1.8.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
Error |
Resolve error obtaining dependencies: Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
(Use --stacktrace to see the full trace)
Error |
Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):
- org.aspectj:aspectjweaver:1.8.5
|Run 'grails dependency-report' for further information.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
This is the bug with Grails v2.5.3 and already reported.
This is already included and fixed on the 2.5.x branch.
Please check this and this
So you need to upgrade your grails version
Hope this will helps you

IntelliJ cannot resolve jsDependency when connected to corporate VPN

When I'm connected to my company's VPN, IntelliJ is unable to resolve certain jsDependencies.
I have set proxy settings in IntelliJ to point to my corporate proxy server, but this seems to make no difference.
If I disconnect from the VPN, then everything builds fine...
Error:Error while importing SBT project:<br/>...<br/><pre>[info]
Resolving org.eclipse.jetty#jetty-util;8.1.16.v20140903 ...
[info] Resolving org.eclipse.jetty#jetty-io;8.1.16.v20140903 ...
[info] Resolving org.eclipse.jetty#jetty-http;8.1.16.v20140903 ...
[info] Resolving org.eclipse.jetty#jetty-server;8.1.16.v20140903 ...
[info] Resolving org.eclipse.jetty.orbit#javax.servlet;3.0.0.v201112011016 ...
[info] Resolving org.eclipse.jetty#jetty-continuation;8.1.16.v20140903 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.webjars#jquery;2.1.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.webjars:jquery:2.1.3 ((org.scalajs.sbtplugin.ScalaJSPluginInternal) ScalaJSPluginInternal.scala#L996)
[warn] +- weatherreportui5:weatherreportui5_sjs0.6_2.11:0.1
[trace] Stack trace suppressed: run 'last *:ssExtractDependencies' for the full output.
[trace] Stack trace suppressed: run 'last *:update' for the full output.
[error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.webjars#jquery;2.1.3: not found
[error] (*:update) sbt.ResolveException: unresolved dependency: org.webjars#jquery;2.1.3: not found
[error] Total time: 1 s, completed 04-Sep-2017 17:31:13</pre><br/>See complete log in file:/Users/i003638/Library/Logs/IdeaIC2017.2/sbt.last.log
The sbt.last.log file complains:
[error] Server access Error: Connection refused url=https://repo1.maven.org/maven2/org/webjars/jquery/2.1.3/jquery-2.1.3.pom
[warn] module not found: org.webjars#jquery;2.1.3
[warn] ==== local: tried
[warn] /Users/xxxxxx/.ivy2/local/org.webjars/jquery/2.1.3/ivys/ivy.xml
[warn] ==== local-preloaded-ivy: tried
[warn] /Users/xxxxxx/.sbt/preloaded/org.webjars/jquery/2.1.3/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////Users/xxxxxx/.sbt/preloaded/org/webjars/jquery/2.1.3/jquery-2.1.3.pom
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/webjars/jquery/2.1.3/jquery-2.1.3.pom
If this is a problem with my company's proxy server, then I'm not sure why putting the Maven URL into my browser (when connected to the VPN) displays the POM file without any problems.
Also, the path name to the Ivy2 cache shown in sbt.last.log does not match the actual path to the cache on disk. It should be ~/.ivy2/cache.
Any ideas?
Thanks
It was the VM parameter settings in IntelliJ.
Preferences -> Build, Execution and Deployment -> SBT.
Needed to add:
-Dhttp.proxyHost=hostname
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=hostname
-Dhttps.proxyPort=8080

Unresolved Dependencies errors When Trying To Build Apache Nutch 2.3.1

Its my first time to trying setting up and build apache nutch 2.3.1 based on this youtube tutorial on Windows 10 got Unresolved Dependencies errors like below:
D:\apachenutch>ant runtime
Buildfile: D:\apachenutch\build.xml
Trying to override old definition of task javac [taskdef] Could not load
definitions from resource org/sonar/ant/antlib.xml. It could not be
found.
ivy-probe-antlib:
ivy-download: [taskdef] Could not load definitions from resource
org/sonar/ant/antlib.xml. It could not be found.
ivy-download-unchecked:
ivy-init-antlib:
ivy-init:
init:
[mkdir] Created dir: D:\apachenutch\build
[mkdir] Created dir: D:\apachenutch\build\classes
[mkdir] Created dir: D:\apachenutch\build\release
[mkdir] Created dir: D:\apachenutch\build\test
[mkdir] Created dir: D:\apachenutch\build\test\classes
clean-lib:
resolve-default: [ivy:resolve] :: Apache Ivy 2.3.0 - 20130110142753 ::
http://ant.apache.org/ivy/ :: [ivy:resolve] :: loading settings ::
file = D:\apachenutch\ivy\ivysettings.xml [ivy:resolve] [ivy:resolve]
:: problems summary :: [ivy:resolve] :::: WARNINGS [ivy:resolve]
:::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve]
:: UNRESOLVED DEPENDENCIES :: [ivy:resolve]
:::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve]
:: org.apache.avro#avro;1.7.6: configuration not found in
org.apache.avro#avro;1.7.6: 'compile'. It was required from
org.apache.gora#gora-core;0.6.1 compile [ivy:resolve]
:::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve]
[ivy:resolve] [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR
MORE DETAILS
BUILD FAILED D:\apachenutch\build.xml:468: impossible to resolve
dependencies:
resolve failed - see output for details
Total time: 14 seconds
D:\apachenutch>
I have been trying with "Ant Clean" command and "Ant Runtime" command still for many times not luck and got errors like above.
So how I can fix it?
All, I had the below error of 'unresolved dependencies', due to https: required after 1/15/20 under Maven. I was able to update both ivy.xml and ivysettings.xml with the correct https: reference, then errors under the build went away.
I hope the helps folks.
versions being used:
Nutch 2.3.1
Hbase 0.98.8
Solr 5.2.1
Java 7
Build error under ant:
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.hbase#hbase-common;0.98.8-hadoop2: not found
[ivy:resolve] :: log4j#log4j;1.2.15: not found
[ivy:resolve] :: commons-io#commons-io;2.2: not found
[ivy:resolve] :: com.sun.xml.bind#jaxb-impl;2.1.12: not found
[ivy:resolve] :: com.sun.xml.bind#jaxb-impl;2.1.13: not found
[ivy:resolve] :: org.codehaus.jackson#jackson-core-asl;1.6.9: not found
[ivy:resolve] :: org.codehaus.jackson#jackson-mapper-asl;1.6.9: not found
[ivy:resolve] :: io.netty#netty;3.4.0.Final: not found
[ivy:resolve] :: commons-net#commons-net;2.2: not found
[ivy:resolve] :: log4j#log4j;1.2.16: not found
[ivy:resolve] :: commons-digester#commons-digester;1.7: not found
[ivy:resolve] :: org.apache.httpcomponents#httpcore;4.3.2: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-common;2.2.0: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-client;2.2.0: not found
[ivy:resolve] :: org.slf4j#slf4j-log4j12;1.6.6: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-api;2.2.0: not found
[ivy:resolve] :: net.java.dev.jets3t#jets3t;0.7.1: not found
[ivy:resolve] :: asm#asm;3.1: not found
[ivy:resolve] :: org.apache.gora#gora-hbase;0.6.1: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
Cannot reproduce your issue.
I was able to successfully compile the code, using the lastest 2.3.1 release candidate:
git clone https://github.com/apache/nutch.git
cd nutch
git checkout -b release-2.3.1rc2 release-2.3.1rc2
ant
Could I suggest that if you still have an problem you raise an issue against the project. You will need to quote which version you are trying to compile.
https://issues.apache.org/jira/browse/NUTCH
I was able to find a solution for this problem. In my case, I was able to fix it by changing all the http requests by https requests in the following files: ivy.xml, ivy-configurations.xml and ivysettings.xml

ivy & server access errors

We have an Ivy repository accessible via HTTP. It can be accessed by several machines without problems but on a Windows machine we get a server access error.
[ivy:retrieve] Loading jar:file:/C:/Users/moserma/.ant/lib/ivy-2.3.0-rc1.jar!/org/apache/ivy/core/settings/ivy.properties
[ivy:retrieve] :: Apache Ivy 2.3.0-rc1 - 20120416000235 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] jakarta commons httpclient not found: using jdk url handling
[ivy:retrieve] :: loading settings :: file = D:\moserma\newWorkspace\Lakshmi\ivy\ivysettings.xml
[ivy:retrieve] no default ivy user dir defined: set to C:\Users\moserma\.ivy2
[ivy:retrieve] settings loaded (66ms)
[ivy:retrieve] default cache: D:\moserma\newWorkspace\Lakshmi\ivy\ivy-cache
[ivy:retrieve] default resolver: ETHZ-HTTP
[ivy:retrieve] -- 1 resolvers:
[ivy:retrieve] ETHZ-HTTP [url]
[ivy:retrieve] no resolved descriptor found: launching default resolve
Overriding previous definition of property "ivy.version"
[ivy:retrieve] using ivy parser to parse file:/D:/moserma/newWorkspace/Lakshmi/ivy.xml
[ivy:retrieve] :: resolving dependencies :: ch.ethz.wai#Lakshmi;1.0
[ivy:retrieve] confs: [default]
[ivy:retrieve] validate = true
[ivy:retrieve] refresh = false
[ivy:retrieve] resolving dependencies for configuration 'default'
[ivy:retrieve] == resolving dependencies for ch.ethz.wai#Lakshmi;1.0 [default]
[ivy:retrieve] == resolving dependencies ch.ethz.wai#Lakshmi;1.0->checkstyle#checkstyle-all;5.5 [default->*]
[ivy:retrieve] tried http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/ivy-5.5.xml
[ivy:retrieve] ERROR: Server access Error: Connection reset url=http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/ivy-5.5.xml
[ivy:retrieve] tried http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/checkstyle-all-5.5.jar
[ivy:retrieve] ERROR: Server access Error: Connection reset url=http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/checkstyle-all-5.5.jar
[ivy:retrieve] ETHZ-HTTP: no ivy file nor artifact found for checkstyle#checkstyle-all;5.5
[ivy:retrieve] WARN: module not found: checkstyle#checkstyle-all;5.5
[ivy:retrieve] WARN: ==== ETHZ-HTTP: tried
[ivy:retrieve] WARN: http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/ivy-5.5.xml
[ivy:retrieve] WARN: -- artifact checkstyle#checkstyle-all;5.5!checkstyle-all.jar:
[ivy:retrieve] WARN: http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/checkstyle-all-5.5.jar
Now there are no firewalls or proxies involved and the URLs are accessible without problems with other tools (e.g., a browser, curl, wget, ...). For example:
$ curl http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/ivy-5.5.xml
<ivy-module version="2.0">
<info organisation="checkstyle" module="checkstyle-all" revision="5.5" status="integration" publication="20120806133612"/>
<publications>
<artifact name="checkstyle-all" type="jar" ext="jar"/>
</publications>
</ivy-module>
On the server side the logs show nothing: no errors not even a connection
EDIT ivysettings.xml should be OK since they can be used without problems with Mac OS X and Linux:
<ivysettings>
<settings defaultResolver = "ETHZ-HTTP" >
<caches defaultCacheDir = "${ivy.settings.dir}/ivy-cache" />
</settings>
<resolvers>
<url name="ETHZ-HTTP">
<ivy pattern="http://ivy.ethz.ch/[organisation]/[module]/[revision]/[artifact]-[revision].xml" />
<artifact pattern="http://ivy.ethz.ch/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
</url>
</resolvers>
</ivysettings>
Any hint?
Maybe there is a firewall on your Windows machine which is blocking Java from doing any network ?
Try this simple ant build.xml file to test it:
<project>
<get src="http://ivy.ethz.ch/checkstyle/checkstyle-all/5.5/ivy-5.5.xml" dest="ivy-5.5.xml" />
</project>