Java Mule服务器3.6>;Anypoint工作室>;远程部署错误

Java Mule服务器3.6>;Anypoint工作室>;远程部署错误,java,maven,mule,esb,mule-studio,Java,Maven,Mule,Esb,Mule Studio,需要有关如何解决我在尝试部署到远程服务器时遇到的问题的帮助: Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00) Maven home: /usr/local/Cellar/maven/3.3.3/libexec Java version: 1.8.0_25, vendor: Oracle Corporation Java home: /Library/Java/Java

需要有关如何解决我在尝试部署到远程服务器时遇到的问题的帮助:

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T19:57:37+08:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac"

[10:17:36] Running: mvn clean package
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Mule globe.pgsia Application 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for javax.script:jruby-engine:jar:jdk14:1.1 is missing, no dependency information available
[WARNING] The POM for com.ibm.icu:icu4j-normalizer_transliterator:jar:4.8.1.1 is missing, no dependency information available
[WARNING] The POM for com.googlecode.sardine:sardine:jar:248 is missing, no dependency information available
[INFO] Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/releases/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/snapshots/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://repository.codehaus.org/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://download.java.net/maven/2/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[INFO] Downloading: http://dist.codehaus.org/mule/dependencies/maven2/javax/activation/activation/1.1-osgi/activation-1.1-osgi.pom
[WARNING] The POM for javax.activation:activation:jar:1.1-osgi is missing, no dependency information available
[INFO] Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/releases/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/snapshots/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://download.java.net/maven/2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[INFO] Downloading: http://dist.codehaus.org/mule/dependencies/maven2/org/apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1-osgi/geronimo-j2ee-connector_1.5_spec-1.1-osgi.pom
[WARNING] The POM for org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1-osgi is missing, no dependency information available
[INFO] Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/releases/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://repository.mulesoft.org/snapshots/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://repository.codehaus.org/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://download.java.net/maven/2/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://repository.jboss.org/nexus/content/groups/public-jboss/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[INFO] Downloading: http://dist.codehaus.org/mule/dependencies/maven2/dom4j/dom4j/1.6.1-osgi/dom4j-1.6.1-osgi.pom
[WARNING] The POM for dom4j:dom4j:jar:1.6.1-osgi is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 55.277 s
[INFO] Finished at: 2015-06-16T10:18:32+08:00
[INFO] Final Memory: 22M/332M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project globe.pgsia: Could not resolve dependencies for project ph.codebridge:globe.pgsia:mule:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.ibm.icu:icu4j-normalizer_transliterator:jar:4.8.1.1, com.googlecode.sardine:sardine:jar:248: Failure to find com.ibm.icu:icu4j-normalizer_transliterator:jar:4.8.1.1 in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of Central 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
我正在部署Mule 3.6服务器EE试用版。。。我曾尝试使用CE运行时重新创建项目,但在我的一个Java源代码上部署之前遇到了另一个问题,即导入以下库时出错:

import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.utils.HttpClientUtils;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.util.EntityUtils;
提前谢谢


.ubuntux

在控制台中,maven找不到两个jar文件的pom文件路径

1.geronimo-j2ee-connector_1.5_规范:jar

2.dom4j:jar


尝试将它们安装到您的本地存储库。

下面的链接将为您提供有关如何使用maven进行安装的详细信息,感谢您向我指出这一点。。。我遇到了另一个无法找到以下依赖项包的问题:javax.script:jruby引擎:jar:jdk14:1.1 com.ibm.icu:icu4j-normalizer\u音译:jar:4.8.1.1 com.googlecode.sardine:sardine:jar:248 avax.activation:activation:jar:1.1-osgispecs:geronimo-j2ee-connector_1.5_spec:jar:1.1-osgi dom4j:dom4j:jar:1.6.1-osgi代码库不再可用。我可以下载这些软件包的任何其他来源?看起来您无法连接OSGI存储库。解决方法是取消项目的mavenize,删除pom.xml并重新移动,这样您就可以摆脱jar导入问题,只需要手动安装两个文件1.sardine-248.jar、2.icu4j-normalizer\u transiterator:jar:4.8.1.1这两个jar