首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >运行SoapUI时的问题

运行SoapUI时的问题
EN

Stack Overflow用户
提问于 2015-04-03 10:13:58
回答 1查看 803关注 0票数 0

我不能让SoapUI运行。我遵循了这些的指令。当我尝试对soapui子项目执行mvn clean install时,我会得到以下错误:

代码语言:javascript
运行
复制
PS D:\soapui\soapui> mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model   for com.smartbear.soapui:soapui:jar:5.2.0-SN
APSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'  must be unique: org.sonatype.install4j:i4jrunti
me:jar -> duplicate declaration of version 5.1.14 @ line 559, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they  threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support  building such malformed projects.
[WARNING]
[INFO]
[INFO] --------------------------------------------------------------------- ---
[INFO] Building SoapUI 5.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.sonatype.install4j:i4jruntime:jar:5.1.14 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.293s
[INFO] Finished at: Fri Apr 03 10:48:13 CEST 2015
[INFO] Final Memory: 6M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project soapui: Could not resolve  dependencies for project com.smartbear.soapui:soapui
:jar:5.2.0-SNAPSHOT: Failure to find   org.sonatype.install4j:i4jruntime:jar:5.1.14 in   http://www.soapui.org/repository/ma
 ven2 was cached in the local repository, resolution will not be reattempted  until the update interval of smartbear-swede
 n-repository has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e  switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please   read the following articles:
[ERROR] [Help 1]  http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException  

另外,在将项目导入Eclipse之后,我也有很多错误。

其中一些是:

代码语言:javascript
运行
复制
Project 'soapui-maven-plugin' is missing required Java project: 'soapui- core-DEV'
The container 'Maven Dependencies' references non existing library  

'C:\Users\mismas\.m2\repository\com\smartbear\soapui\soapui\5.2.0- SNAPSHOT\soapui-5.2.0-SNAPSHOT.jar'  soapui-maven-plugin


Unbound classpath variable: 'MAVEN_REPO/activation/jars/activation-1.1.jar' in project 'soapui-maven-plugin'    soapui-maven-plugin     Build path  Build Path Problem

Missing artifact gnu.cajo:cajo:jar:1.142   
Missing artifact org.opensaml:xmltooling:jar:1.3.2-1
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (execution: default-descriptor, phase: generate-resources) pom.xml /soapui-maven-plugin
Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:xmlbeans-maven-plugin:2.3.3:xmlbeans (execution: default, phase: generate-sources)   pom.xml /soapui

请帮忙,我真的很想用SoapUI来测试RESTful webservice。

提前谢谢你。

诚挚的问候,

米马斯

EN

回答 1

Stack Overflow用户

发布于 2016-12-22 08:33:32

在文件中,soapui/pu.xml有重复的行:重复依赖pom

代码语言:javascript
运行
复制
<dependency>
    <groupId>org.sonatype.install4j</groupId>
    <artifactId>i4jruntime</artifactId>
    <version>5.1.14</version>
</dependency>

在maven执行过程中出现了以下错误:

警告'dependencies.dependency.(groupId:artifactId:type:classifier)‘必须是唯一的: org.sonatype.install4j:i4jrunti me:jar ->重复声明5.1.14 @第559行,第21列

删除这一行,然后执行mvn clean install

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29430184

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档