如何在Tomcat上安装restcomm

时间:2017-05-20 13:14:38

标签: java tomcat sip restcomm

我想在tomcat7上安装restcomm,但是当我执行命令ant -buildfile ./build.xml时,收到以下错误消息:

 "[exec] [INFO] ------------------------------------------------------------------------
 [exec] [INFO] Reactor Summary:
 [exec] [INFO] 
 [exec] [INFO] Restcomm Sip Servlets .............................. FAILURE [  0.910 s]
 [exec] [INFO] Sip Servlets Specification Implementation .......... SKIPPED
 [exec] [INFO] Mobicents Sip Servlets Client ...................... SKIPPED
 [exec] [INFO] Sip Servlets JRuby Integration ..................... SKIPPED
 [exec] [INFO] Sip Servlets Specific Annotations .................. SKIPPED
 [exec] [INFO] Sip Servlets Core API .............................. SKIPPED
 [exec] [INFO] Sip Servlets Implementation ........................ SKIPPED
 [exec] [INFO] Sip Servlets Default Application Router ............ SKIPPED
 [exec] [INFO] Sip Servlets Catalina 7 Abstract Layer ............. SKIPPED
 [exec] [INFO] Sip Servlets Loading Specifics for Tomcat 7 ........ SKIPPED
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [INFO] BUILD FAILURE
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [INFO] Total time: 3.153 s
 [exec] [INFO] Finished at: 2017-05-20T19:30:54+08:00
 [exec] [INFO] Final Memory: 20M/309M
 [exec] [INFO] ------------------------------------------------------------------------
 [exec] [ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default-cli) on project sip-servlets-bootstrap: Cannot get the revision information from the scm repository :
 [exec] [ERROR] Exception while executing SCM command. UnsupportedOperationException
 [exec] [ERROR] -> [Help 1]
 [exec] [ERROR] 
 [exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
 [exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [exec] [ERROR] 
 [exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
 [exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException"

有人可以帮帮我吗?

1 个答案:

答案 0 :(得分:0)

您是否安装了SCM并且在您的路径中?看起来它正在尝试为你的buildnumber插件获得一个repo版本而且它不能,所以它失败了