2017-04-14 68 views
1

我使用下面的插件在我的Maven項目在使用該插件,我收到以下錯誤作爲Maven插件創建Couldnot發現錯誤

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

但我已經配置了

<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> 

JDK,而不是一個JRE.I

+0

@Suyog Sathe我只指向JDK –

回答