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?

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 :

idea-find-class-in-jar
Note
This FileUploadBase belongs to tomcat-embed-core-8.5.6.jar

References

  1. Eclipse – How to know this class belongs to which JAR

上一篇: Eclipse – How to know this class belongs to which JAR
下一篇: Spring Boot file upload example
 评论 ( What Do You Think )
名称
邮箱
网址
评论
验证
   
 

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号