JRE未检测到代理服务器

时间:2014-11-17 12:51:20

标签: java maven

我们正在使用Windows 7 64位操作系统和JRE 1.7和1.8。在代理服务器后面运行的Java和eclipse。

我们正在使用Microsoft Forefront TMG客户端。

我们正在尝试连接maven / eclipse市场,但它没有检测到TMG服务器。

最多java 1.6在访问maven / eclipse市场时没有错误。在升级java之后我们面临着这个问题。

问题:当我使用Java 1.7时,我无法连接到Maven存储库(https://repo.maven.apache.org/maven2/...。)

当我使用Java 1.6时,我能够连接到maven存储库

我使用了Windows命令提示符。

得到以下消息

"[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artif

act descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5

org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven

-clean-plugin:jar:2.5

at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:122)

at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)

at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)

at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:138)

at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:121)

at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:85)

at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)

at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)

at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)

at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)

at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.jav

0 个答案:

没有答案