IntelliJ IDEA – How to know this class belongs to which JAR
For example, how to find out this FileUploadBase
class belongs to which JAR or dependency?
//...
import org.apache.tomcat.util.http.fileupload.FileUploadBase;
@ExceptionHandler(FileUploadBase.FileSizeLimitExceededException.class)
public String handleError3(Exception e, RedirectAttributes redirectAttributes) {
redirectAttributes.addFlashAttribute("message", e.getCause().getMessage());
return "redirect:/uploadStatus";
}
Solution
In IntelliJ IDEA, double clicks on the class name and press CTRL + n
(win/*nix) or CMD + n
(mac) to prompt out a small window about the class detail :
Note
This
This
FileUploadBase
belongs to tomcat-embed-core-8.5.6.jar
References
About Author
Comments
Subscribe
0 Comments