缺少工件 com.ibm:com.ibm.mqjms:jar: 5.3.07
Missing artifact com.ibm:com.ibm.mqjms:jar: 5.3.07
我在 pom.xml 中添加了 com.ibm.mqjms maven 依赖项:
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mqjms</artifactId>
<version>5.3.07</version>
</dependency>
它给了我:
The following artifacts could not be resolved: com.ibm:com.ibm.mqjms:jar:5.3.07, com.ibm:com.ibm.mq:jar:5.3.07, javax.naming:jndi:jar:1.2.1, javax.resource:connector:jar:1.0, javax.transaction:jta:jar:1.0.1B, javax.jms:jms:jar:1.1: Could not find artifact com.ibm:com.ibm.mqjms:jar:5.3.07 in central (http://repo.maven.apache.org/maven2)
知道我该如何解决吗?
以下 JAR 是专有的 - 因此它们不会通过 public Maven 存储库(如 Maven Central)解析。这些JAR需要从WebSphere MQ安装目录获取,手动部署到我们本地的Maven仓库。:
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mqjms</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mq.jmqi</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.disthub2.dhbcore</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
试试这个对我有用
<dependency>
<groupId>com.ibm.mq</groupId>
<artifactId>allclient</artifactId>
<version>9.0.0.0</version>
<type>jar</type>
</dependency>
我在 pom.xml 中添加了 com.ibm.mqjms maven 依赖项:
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mqjms</artifactId>
<version>5.3.07</version>
</dependency>
它给了我:
The following artifacts could not be resolved: com.ibm:com.ibm.mqjms:jar:5.3.07, com.ibm:com.ibm.mq:jar:5.3.07, javax.naming:jndi:jar:1.2.1, javax.resource:connector:jar:1.0, javax.transaction:jta:jar:1.0.1B, javax.jms:jms:jar:1.1: Could not find artifact com.ibm:com.ibm.mqjms:jar:5.3.07 in central (http://repo.maven.apache.org/maven2)
知道我该如何解决吗?
以下 JAR 是专有的 - 因此它们不会通过 public Maven 存储库(如 Maven Central)解析。这些JAR需要从WebSphere MQ安装目录获取,手动部署到我们本地的Maven仓库。:
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mqjms</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mq.jmqi</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.disthub2.dhbcore</artifactId>
<version>${webSphereMQVersion}</version>
</dependency>
试试这个对我有用
<dependency>
<groupId>com.ibm.mq</groupId>
<artifactId>allclient</artifactId>
<version>9.0.0.0</version>
<type>jar</type>
</dependency>