java - 如何在 Tomcat 上安装 restcomm

标签 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"

有人能帮帮我吗?

最佳答案

您是否安装了 SCM 并在您的路径中?看起来它正在尝试为您的内部版本号插件获取 repo 版本但它不能,所以它失败了

关于java - 如何在 Tomcat 上安装 restcomm,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44086322/

相关文章:

java - ehcache 是否与 servlet 容器运行在同一个进程中?

Tomcat 线程池使用模式

port - 如何更改linphone-iphone服务器端口5060

webrtc - ast_sockaddr_resolve : getaddrinfo(): Name or service not known

iphone - 将 Linphone 应用程序集成到我的 iOS 应用程序

java - Spring Boot找不到字段表单font-end

java - 如何将最初的第一个用户添加到网络应用程序用户列表中(该用户随后会添加其他用户)?

java - 如果 "Statement"语句更优,为什么需要 "prepared"对象?

java - (Class<?>) 和 getClass() 有什么区别?

tomcat - 增加 Eden 空间堆大小 tomcat