RestComm / smscgateway

RestComm SMS Gateway (SMSC) to send/receive SMS from/to Operators Network (GSM)
http://www.restcomm.com/
GNU Affero General Public License v3.0
126 stars 112 forks source link

Cannot compile smscgateway - TxSmppServerSbbTest no suitable constructor found for Esme #296

Open bizotec opened 5 years ago

bizotec commented 5 years ago

/kind bug

What happened:

SMSCGATEWAY compilation fails at CORE: SLEE : Services Tx SMPP Server SBB.

The error is following:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile (default-testCompile) on project tx-smppserver-sbb: Compilation failure: Compilation failure: [ERROR] smscgateway-repo/smscgateway/core/slee/services/txsmppserversbb/src/test/java/org/mobicents/smsc/slee/services/smpp/server/tx/TxSmppServerSbbTest.java:[210,14] error: no suitable constructor found for Esme(String,String,String,String,int,boolean,,SmppInterfaceVersionType,int,int,,SmppBindType,Type,int,long,long,long,long,long,String,boolean,int,int,int,int,int,String,int,int,String,int,boolean,int,int,int,int,int,int,int,int,int,int,int) [ERROR] [ERROR] constructor Esme.Esme() is not applicable [ERROR] (actual and formal argument lists differ in length) [ERROR] constructor Esme.Esme(String,String,String,String,int,boolean,String,SmppInterfaceVersionType,int,int,String,SmppBindType,Type,int,long,long,long,long,long,String,boolean,int,int,long,int,int,String,int,int,String,int,boolean,long,long,long,long,int,int,int,int,int,int,int,SmppEncodingWithDefault,SmppEncodingWithDefault,boolean) is not applicable [ERROR] (actual and formal argument lists differ in length)

What you expected to happen:

Compilation/build successful.

How to reproduce it (as minimally and precisely as possible):

$ git clone https://github.com/Restcomm/smscgateway.git $ cd restcomm-smscgateway $ git checkout $ mvn clean install

Anything else we need to know?:

Likely the package org/mobicents/smsc/slee/services/smpp/server/tx/ is broken / not in proper version.

Environment:

orn1983 commented 5 years ago

Can confirm the same problem.

zvikara commented 5 years ago

In main pom.xml just change smpp-extensions version to 7.1.0-128 . It will compile and all tests will pass.

7.1.0-128
bizotec commented 5 years ago

Thank you. Is there documented process how to deploy smsc gateway fo JBoss? I see after compilation there are no deployment resources and packages.

On 21 Jan 2019, at 18:11, Zvika Rap notifications@github.com wrote:

In main pom.xml just change smpp-extensions version to 7.1.0-128 . It will compile and all tests will pass.

7.1.0-128 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or mute the thread .