在org.mule.tools.maven中发生不可解决的错误 [英] Unresolveable error occured in org.mule.tools.maven

查看:218
本文介绍了在org.mule.tools.maven中发生不可解决的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Maven中收到以下错误

I am getting the following Error in Maven

项目构建错误:Unresolveable build extension:Plugin org.mule.tools.maven:mule-app-maven-plugin :1.1或其中一个依赖关系无法解决:找不到工件com.sun:tools:jar:
指定路径下的1.5.0 C:\Program Files\Java\jre7 /../ lib / tools.jar

Project build error: Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.1 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar: 1.5.0 at specified path C:\Program Files\Java\jre7/../lib/tools.jar

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jaggedpeak</groupId>
<artifactId>amazon-integration</artifactId>
<version>1.0.0</version>
<packaging>mule</packaging>
<name>Mule amazon-integration Application</name>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8
    </project.reporting.outputEncoding>

    <mule.version>3.7.0</mule.version>
    <mule.tools.version>1.1</mule.tools.version>
    <munit.version>1.1.0</munit.version>
    <mule.munit.support.version>3.7.1</mule.munit.support.version>
</properties>

<build>
    <plugins>
        <plugin>
            <groupId>org.mule.tools.maven</groupId>
            <artifactId>mule-app-maven-plugin</artifactId>
            <version>${mule.tools.version}</version>
            <extensions>true</extensions>
            <configuration>
                <copyToAppsDirectory>true</copyToAppsDirectory>
                <inclusions>
                    <inclusion>
                        <groupId>org.mule.modules</groupId>
                        <artifactId>mule-module-extensions-support</artifactId>
                    </inclusion>
                    <inclusion>
                        <groupId>org.mule.modules</groupId>
                        <artifactId>mule-module-extensions-spring-support</artifactId>
                    </inclusion>
                </inclusions>
            </configuration>
        </plugin>
     <plugins>
  </build>

注意:
以下是我的发现,我的构建指向JDK,有没有限制下载。

Note: The following are my findings ,My build is pointing to JDK,There is no restriction in downloading.

推荐答案

将您的项目指向jdk而不是jre。

point your project to jdk instead of jre.

这篇关于在org.mule.tools.maven中发生不可解决的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆