没有 vscode.java.test.search.items 的 delegateCommandHandler。

huangapple go评论60阅读模式
英文:

No delegateCommandHandler for vscode.java.test.search.items

问题

Java Test Runner 0.24.2

我在我的 vscode 编辑器中看不到 CodeLens,而且测试资源管理器是空的

像这样问题,但对我不起作用,只是得到

> vscode.java.test.search.items 的无委托命令处理程序

我的 .classpath 文件

<classpathentry kind="src" output="target/test-classes" path="src/test/java">
	<attributes>
		<attribute name="optional" value="true"/>
		<attribute name="maven.pomderived" value="true"/>
		<attribute name="test" value="true"/>
	</attributes>
</classpathentry>

我该如何修复这个问题?

英文:

Java Test Runner 0.24.2

I cannot see the CodeLens in my vscode editor and the Test Explorer is empty

Like this and issue, but not work for me, just get

> No delegateCommandHandler for vscode.java.test.search.items

my .classpath

<classpathentry kind="src" output="target/test-classes" path="src/test/java">
	<attributes>
		<attribute name="optional" value="true"/>
		<attribute name="maven.pomderived" value="true"/>
		<attribute name="test" value="true"/>
	</attributes>
</classpathentry>

How can i fix this?

答案1

得分: 2

我明白!

Java测试运行器 0.24.2 不支持 Java 1.8

我需要降级到 0.24.0 ...

英文:

I get it!

Java Test Runner 0.24.2 not work java 1.8

I need downgrade to 0.24.0 ...

huangapple
  • 本文由 发表于 2020年9月25日 16:12:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/64060320.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定