本文介绍了问题在Eclipse 3.5上安装旧的TestNG插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  eclipse.buildId = unknown 
java.version = 1.6.0_19
java.vendor = Sun Microsystems Inc.
BootLoader常量:OS = win32,ARCH = x86,WS = win32,NL = no_NO
框架参数: -product org.eclipse.epp.package.jee.product
命令行参数:-os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


错误
Mon Jun 07 15:45:53 CEST 2010
未找到伪像:org.eclipse.update.feature,org.testng.eclipse,5.11.0.28。

java.io.FileNotFoundException:http://beust.com/eclipse/features/org.testng.eclipse_5.11.0.28.jar
在org.eclipse.equinox。 internal.p2.repository.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:289)
在org.eclipse.equinox.internal.p2.repository.FileReader.checkException(FileReader.java:352)
在org。 eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:326)
在org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
在org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
在org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127 )
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
在org.eclipse.equinox.internal.p2.artifact.repository .simple.SimpleArtifactRepository.downloadArtifac t(SimpleArtifactRepository.java:451)
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
在org.eclipse.equinox。 internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
在org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)$ b $在org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest .java:95)
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
在org.eclipse.equinox.internal.p2 .Ant @错误
Mon Jun 07 15:45:53 CEST 2010
未找到伪像:osg i.bundle,org.testng.eclipse,5.11.0.28。

java.io.FileNotFoundException:http://beust.com/eclipse/plugins/org.testng.eclipse_5.11.0.28.jar
在org.eclipse.equinox。 internal.p2.repository.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:289)
在org.eclipse.equinox.internal.p2.repository.FileReader.checkException(FileReader.java:352)
在org。 eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:326)
在org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
在org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
在org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127 )
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
在org.eclipse.equinox.internal.p2.artifact.repository .simple.SimpleArtifactRepository.downloadArtifact( SimpleArtifactRepository.java:451)
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
在org.eclipse.equinox.internal。 p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
在org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)
在org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
在org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java :95)
在org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
在org.eclipse.equinox.internal.p2.artifact .repository.simple.DownloadJob.run(DownloadJob.java:64)
在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

错误
Mon Jun 07 15:45:53 CEST 2010
会话上下文是:(prof ile = epp.package.jee,phase = org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,operand =,action =)。

我有点卡住了,所以我真的很想帮忙。谢谢

解决方案

您还可以将更新网站指向:




I'm trying to install TestNG 5.11 on eclipse 3.5 and gettign the following.

eclipse.buildId=unknown
java.version=1.6.0_19
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=no_NO
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


Error
Mon Jun 07 15:45:53 CEST 2010
Artifact not found: org.eclipse.update.feature,org.testng.eclipse,5.11.0.28.

java.io.FileNotFoundException:  "http://beust.com/eclipse/features/org.testng.eclipse_5.11.0.28.jar"
at org.eclipse.equinox.internal.p2.repository.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:289)
at org.eclipse.equinox.internal.p2.repository.FileReader.checkException(FileReader.java:352)
at org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:326)
at org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:451)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:95)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Error
Mon Jun 07 15:45:53 CEST 2010
Artifact not found: osgi.bundle,org.testng.eclipse,5.11.0.28.

java.io.FileNotFoundException: "http://beust.com/eclipse/plugins/org.testng.eclipse_5.11.0.28.jar"
at org.eclipse.equinox.internal.p2.repository.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:289)
at org.eclipse.equinox.internal.p2.repository.FileReader.checkException(FileReader.java:352)
at org.eclipse.equinox.internal.p2.repository.FileReader.sendRetrieveRequest(FileReader.java:326)
at org.eclipse.equinox.internal.p2.repository.FileReader.readInto(FileReader.java:263)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:71)
at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:468)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:451)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:518)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:200)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:175)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:159)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:95)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:507)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Error
Mon Jun 07 15:45:53 CEST 2010
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).

I'm kinda stuck so I would really like help. Thanks

解决方案

You can also point your update site to:

http://beust.com/eclipse-5.11.0.28

这篇关于问题在Eclipse 3.5上安装旧的TestNG插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 17:35