IntelliJ IDEA How to know this class belongs to which JAR
By:Roy.LiuLast updated:2019-08-11
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 FileUploadBase belongs to tomcat-embed-core-8.5.6.jar
This FileUploadBase belongs to tomcat-embed-core-8.5.6.jar
References
From:一号门
COMMENTS