如何确定Eclipse中引用包的位置?

use*_*052 1 java eclipse

我有两个不同的开源项目副本,一个是构建的,另一个是不构建的.没有建立的是:

Description Resource    Path    Location    Type
The project was not built since its build path is incomplete. Cannot find the class file for javax.crypto.SecretKey. Fix the build path then try building this project  Server      Unknown Java Problem
The type javax.crypto.SecretKey cannot be resolved. It is indirectly referenced from required .class files  DefaultConfigurationController.java /Server/src/com/mirth/connect/server/controllers    line 1  Java Problem
Run Code Online (Sandbox Code Playgroud)

这两个类已经被eclipse强调了

import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
Run Code Online (Sandbox Code Playgroud)

在构建的项目中,如何确定从哪里解析这些引用?

Woj*_*zyk 6

在感兴趣的类型上按F3,然后在视图中按链接编辑器Package explorer.

另一方面,如果您想查看给定,字段方法的所有引用,请按Ctrl + Shift + G.