./gradlew ofbiz: FAILURE: Build failed with an exception.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

./gradlew ofbiz: FAILURE: Build failed with an exception.

Piotr Walesiak
HI there,

Very beginner problem ... my first contact with ofbiz. Trying to start a
demo.

I'm following instructions from
https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
(section Quick & Easy Setup) with:
- apache-ofbiz-16.11.04

- Linux 4.9.0-4-686 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
GNU/Linux

- java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK Server VM (build 25.151-b12, mixed mode)


Running './gradlew ofbiz' and the result is:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/piotr/ofbiz/build.gradle' line: 975

* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not resolve all dependencies for configuration ':runtime'.
   > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
     Required by:
         :ofbiz:unspecified > ofbiz.specialpurpose:birt:unspecified >
org.eclipse.birt.runtime:viewservlets:4.5.0 >
org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
      > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
         > Could not get resource '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
'.
            > Could not GET '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
'.
               > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

As far as i understand it says it can't GET from URL '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
'
yet when i try the same URL with wget it works. Any idea?

--
---
PW
Reply | Threaded
Open this post in threaded view
|

Re: ./gradlew ofbiz: FAILURE: Build failed with an exception.

taher
Welcome aboard, nice work in explaining things.

Not sure, but at a first glance maybe you can consider the following:
- try the oracle JDK instead of openjdk.
- is your internet connection solid? If you just timed out, maybe try again

I am assuming you crashed the build before completing all the downloads. So
it smells like a network problem. I could be wrong though.

On Jan 10, 2018 10:29 PM, "Piotr Walesiak" <[hidden email]> wrote:

HI there,

Very beginner problem ... my first contact with ofbiz. Trying to start a
demo.

I'm following instructions from
https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
(section Quick & Easy Setup) with:
- apache-ofbiz-16.11.04

- Linux 4.9.0-4-686 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
GNU/Linux

- java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK Server VM (build 25.151-b12, mixed mode)


Running './gradlew ofbiz' and the result is:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/piotr/ofbiz/build.gradle' line: 975

* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
> Could not resolve all dependencies for configuration ':runtime'.
   > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
     Required by:
         :ofbiz:unspecified > ofbiz.specialpurpose:birt:unspecified >
org.eclipse.birt.runtime:viewservlets:4.5.0 >
org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
      > Could not resolve
org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
         > Could not get resource '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'.
            > Could not GET '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'.
               > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.

BUILD FAILED

As far as i understand it says it can't GET from URL '
https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
luw.dbdefinition-1.0.4.v201107221502.pom
'
yet when i try the same URL with wget it works. Any idea?

--
---
PW
Reply | Threaded
Open this post in threaded view
|

Re: ./gradlew ofbiz: FAILURE: Build failed with an exception.

Craig Parker
I haven't had any trouble with openjava yet.


On 01/10/2018 03:32 PM, Taher Alkhateeb wrote:

> Welcome aboard, nice work in explaining things.
>
> Not sure, but at a first glance maybe you can consider the following:
> - try the oracle JDK instead of openjdk.
> - is your internet connection solid? If you just timed out, maybe try again
>
> I am assuming you crashed the build before completing all the downloads. So
> it smells like a network problem. I could be wrong though.
>
> On Jan 10, 2018 10:29 PM, "Piotr Walesiak" <[hidden email]> wrote:
>
> HI there,
>
> Very beginner problem ... my first contact with ofbiz. Trying to start a
> demo.
>
> I'm following instructions from
> https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
> (section Quick & Easy Setup) with:
> - apache-ofbiz-16.11.04
>
> - Linux 4.9.0-4-686 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
> GNU/Linux
>
> - java -version
> openjdk version "1.8.0_151"
> OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
> OpenJDK Server VM (build 25.151-b12, mixed mode)
>
>
> Running './gradlew ofbiz' and the result is:
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/home/piotr/ofbiz/build.gradle' line: 975
>
> * What went wrong:
> A problem occurred evaluating root project 'ofbiz'.
>> Could not resolve all dependencies for configuration ':runtime'.
>     > Could not resolve
> org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
> ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
>       Required by:
>           :ofbiz:unspecified > ofbiz.specialpurpose:birt:unspecified >
> org.eclipse.birt.runtime:viewservlets:4.5.0 >
> org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
>        > Could not resolve
> org.eclipse.birt.runtime:org.eclipse.datatools.enablement.
> ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
>           > Could not get resource '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
> eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
> 4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
> luw.dbdefinition-1.0.4.v201107221502.pom
> '.
>              > Could not GET '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
> eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
> 4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
> luw.dbdefinition-1.0.4.v201107221502.pom
> '.
>                 > Connection reset
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> As far as i understand it says it can't GET from URL '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.
> eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.
> 4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.
> luw.dbdefinition-1.0.4.v201107221502.pom
> '
> yet when i try the same URL with wget it works. Any idea?
>
> --
> ---
> PW
>

Reply | Threaded
Open this post in threaded view
|

Re: ./gradlew ofbiz: FAILURE: Build failed with an exception.

Jacques Le Roux
Administrator
In reply to this post by Piotr Walesiak
I got the same kind of exception recently, try again some minutes after

http://markmail.org/message/oalt3r5owk36yphv

Networks issues happen

Jacques


Le 10/01/2018 à 20:28, Piotr Walesiak a écrit :

> HI there,
>
> Very beginner problem ... my first contact with ofbiz. Trying to start a
> demo.
>
> I'm following instructions from
> https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
> (section Quick & Easy Setup) with:
> - apache-ofbiz-16.11.04
>
> - Linux 4.9.0-4-686 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
> GNU/Linux
>
> - java -version
> openjdk version "1.8.0_151"
> OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
> OpenJDK Server VM (build 25.151-b12, mixed mode)
>
>
> Running './gradlew ofbiz' and the result is:
>
> FAILURE: Build failed with an exception.
>
> * Where:
> Build file '/home/piotr/ofbiz/build.gradle' line: 975
>
> * What went wrong:
> A problem occurred evaluating root project 'ofbiz'.
>> Could not resolve all dependencies for configuration ':runtime'.
>     > Could not resolve
> org.eclipse.birt.runtime:org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
>       Required by:
>           :ofbiz:unspecified > ofbiz.specialpurpose:birt:unspecified >
> org.eclipse.birt.runtime:viewservlets:4.5.0 >
> org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1
>        > Could not resolve
> org.eclipse.birt.runtime:org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition:1.0.4.v201107221502.
>           > Could not get resource '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
> '.
>              > Could not GET '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
> '.
>                 > Connection reset
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> As far as i understand it says it can't GET from URL '
> https://jcenter.bintray.com/org/eclipse/birt/runtime/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition/1.0.4.v201107221502/org.eclipse.datatools.enablement.ibm.db2.luw.dbdefinition-1.0.4.v201107221502.pom
> '
> yet when i try the same URL with wget it works. Any idea?
>