java - Not able to create any portlet on Liferay 6.2 CE GA4 Offline without internet -


i have created fresh liferay 6.2 ce ga4 using pre-downloaded sdk/tomcat/lr source. have created server in eclipse , when try create portlet first time try download "gradle-2.2.1-bin.zip" internet.

i have downloaded same gradle "https://downloads.gradle.org/distributions/gradle-2.2.1-bin.zip" , placed inside "liferay-plugins-sdk-6.2\tools\gradle\gradle\wrapper".

still shows same error below:

`downloading https://services.gradle.org/distributions/gradle-2.2.1-bin.zip  exception in thread "main" java.net.connectexception: connection timed out: connect     @ java.net.plainsocketimpl.socketconnect(native method)     @ java.net.plainsocketimpl.doconnect(unknown source)     @ java.net.plainsocketimpl.connecttoaddress(unknown source)     @ java.net.plainsocketimpl.connect(unknown source)     @ java.net.sockssocketimpl.connect(unknown source)     @ java.net.socket.connect(unknown source)     @ com.sun.net.ssl.internal.ssl.sslsocketimpl.connect(unknown source)     @ com.sun.net.ssl.internal.ssl.basesslsocketimpl.connect(unknown source)     @ sun.net.networkclient.doconnect(unknown source)     @ sun.net.www.http.httpclient.openserver(unknown source)     @ sun.net.www.http.httpclient.openserver(unknown source)     @ sun.net.www.protocol.https.httpsclient.(unknown source)     @ sun.net.www.protocol.https.httpsclient.new(unknown source)     @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.getnewhttpclient(unknown source)     @ sun.net.www.protocol.http.httpurlconnection.plainconnect(unknown source)     @ sun.net.www.protocol.https.abstractdelegatehttpsurlconnection.connect(unknown source)     @ sun.net.www.protocol.http.httpurlconnection.getinputstream(unknown source)     @ sun.net.www.protocol.https.httpsurlconnectionimpl.getinputstream(unknown source)     @ org.gradle.wrapper.download.downloadinternal(download.java:56)     @ org.gradle.wrapper.download.download(download.java:42)     @ org.gradle.wrapper.install$1.call(install.java:57)     @ org.gradle.wrapper.install$1.call(install.java:44)     @ org.gradle.wrapper.exclusivefileaccessmanager.access(exclusivefileaccessmanager.java:65)     @ org.gradle.wrapper.install.createdist(install.java:44)     @ org.gradle.wrapper.wrapperexecutor.execute(wrapperexecutor.java:126)     @ org.gradle.wrapper.gradlewrappermain.main(gradlewrappermain.java:56) `

am placing zip on wrong directory or missing else ?

from error message, i'd say: yes, seems put file wrong directory. 1 correct one? don't know. it'd easiest first build while connected internet. download happen once (also, there might more dependencies need downloaded) , can builds offline after that.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -