Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode Java no definition found no references found Java #3650

Open
zmwxiaoming opened this issue May 11, 2024 · 1 comment
Open

vscode Java no definition found no references found Java #3650

zmwxiaoming opened this issue May 11, 2024 · 1 comment

Comments

@zmwxiaoming
Copy link

zmwxiaoming commented May 11, 2024

[provide a description of the issue]

Environment
  • Operating System: macOS 14.4.1 (23E224)
  • JDK version: jdk1.8.0_361.jdk
  • Visual Studio Code version: 1.89.1 (Universal)
  • Java extension version:v1.31.2024051008 (pre-release)
Steps To Reproduce
  1. no definition found
image image
  1. no references found
image
  1. no declaration found
image image

Since I upgraded vscode
When I click on a method to query its definition, " no definition found "
When I click on a class declaration, " no declaration found" , no, no, no every Java no.
This problem has been bothering me for two days. Could you please help me solve it, great master?

if (StringUtils.isBlank(token)) {
			return ResponseCommon.fail(-1, "token为空");
		}
		UserInfoOutput output = (UserInfoOutput) session.getAttribute(CommonConstant.SESSION_USER_KEY);
		if (output == null && ObjectUtils.notEqual(output.getToken(), token)) {
			return ResponseCommon.fail(-1, "token错误");
		}
@Data
public class UserInfoOutput {
	private String userName;
	private String phone;
	private String avatar;
	private String token;
}

Please attach logs

Current Result
Expected Result
Additional Informations
@zmwxiaoming
Copy link
Author

Reinstall vscode to solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant