novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Building Error bitcoinj:0.11.1 mvn #537

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error when try to build bitcoinj:0.11.1 mvn 
using apache-maven-3.2.1 

The next error message appear and nothing happen after it 

--------------------------------------------------------------------------
01:44:03 150 NioClient$1.run: Error trying to open/read from connection
java.net.ConnectException: Connection refused: connect
        at sun.nio.ch.Net.connect0(Native Method)
        at sun.nio.ch.Net.connect(Net.java:465)
        at sun.nio.ch.Net.connect(Net.java:457)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:666)
        at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:98)
        at com.google.bitcoin.protocols.niowrapper.NioClient$1.run(NioClient.jav
a:64)

--------------------------------------------------------------------------

Original issue reported on code.google.com by ahmasho...@gmail.com on 9 Mar 2014 at 11:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi everybody,
I want to know if this problem face every body or just on my pc.
I try two way to clean and build the project 
1-dirct one from cmd by "mvn clear install".
2-form inside eclipse .
and after alot of work and download the next error messgae come then every 
thing stop

--------------------------------------------------------------------------
02:13:59 1 PaymentChannelServerState$2.onSuccess: TX 2c59ea085e0bbebb1a996e4588a
cd8f2ab07f58d854290427a3d18939dfd4db7 propagated, channel successfully closed.
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.044 sec
Running com.google.bitcoin.protocols.niowrapper.NioWrapperTest
02:13:59 146 ConnectionHandler.handleKey: Error handling SelectionKey
java.lang.IllegalStateException: Message too large or length underflowed
        at com.google.bitcoin.protocols.niowrapper.ProtobufParser.receiveBytes(ProtobufParser.java:148)
        at com.google.bitcoin.protocols.niowrapper.ConnectionHandler.handleKey(ConnectionHandler.java:116)
        at com.google.bitcoin.protocols.niowrapper.NioServer.handleKey(NioServer.java:56)
        at com.google.bitcoin.protocols.niowrapper.NioServer.access$100(NioServer.java:38)
        at com.google.bitcoin.protocols.niowrapper.NioServer$1.run(NioServer.java:85)
02:14:00 150 NioClient$1.run: Error trying to open/read from connection
java.net.ConnectException: Connection refused: connect
        at sun.nio.ch.Net.connect0(Native Method)
        at sun.nio.ch.Net.connect(Net.java:465)
        at sun.nio.ch.Net.connect(Net.java:457)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:666)
        at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:98)
        at com.google.bitcoin.protocols.niowrapper.NioClient$1.run(NioClient.java:64)

--------------------------------------------------------------------------

Original comment by ahmasho...@gmail.com on 10 Mar 2014 at 12:32

GoogleCodeExporter commented 9 years ago
You probably have a firewall enabled or something. Try

mvn install -DskipTests

Original comment by mh.in.en...@gmail.com on 10 Mar 2014 at 12:25

GoogleCodeExporter commented 9 years ago
Thank you that's work with me
"mvn install -DskipTests"

Original comment by ahmasho...@gmail.com on 10 Mar 2014 at 9:24

GoogleCodeExporter commented 9 years ago

Original comment by mh.in.en...@gmail.com on 17 Mar 2014 at 3:44