资源简介

springboot jar包方式运行下的图片上传与显示,其中包含完整代码demo https://www.jianshu.com/p/5e1a4e4ab994

资源截图

代码片段和文件信息

package com.halo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Auther: halo
 * @Date: 2018/8/4 17:16
 * @Description:
 */
@EnableAutoConfiguration
@ComponentScan
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class args);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-19 21:41  springbootfileUpload\
     文件        5710  2018-08-19 21:32  springbootfileUpload\springbootfileUpload.iml
     目录           0  2018-08-19 21:41  springbootfileUpload\target\
     目录           0  2018-08-19 21:41  springbootfileUpload\target\generated-sources\
     目录           0  2018-08-19 21:41  springbootfileUpload\target\generated-sources\annotations\
     目录           0  2018-08-19 21:42  springbootfileUpload\target\classes\
     目录           0  2018-08-19 21:42  springbootfileUpload\target\classes\templates\
     文件        2049  2018-08-19 21:42  springbootfileUpload\target\classes\templates\index.html
     目录           0  2018-08-19 21:41  springbootfileUpload\target\classes\com\
     目录           0  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\
     目录           0  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\config\
     文件        1528  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\config\WebAppConfig.class
     目录           0  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\controller\
     文件        3108  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\controller\IndexController.class
     文件         738  2018-08-19 21:41  springbootfileUpload\target\classes\com\halo\Application.class
     文件         419  2018-08-19 21:41  springbootfileUpload\target\classes\application.properties
     文件        1377  2018-08-19 21:29  springbootfileUpload\pom.xml
     目录           0  2018-08-19 22:19  springbootfileUpload\.idea\
     文件         172  2018-08-19 21:32  springbootfileUpload\.idea\encodings.xml
     目录           0  2018-08-19 21:25  springbootfileUpload\.idea\inspectionProfiles\
     目录           0  2018-08-19 21:32  springbootfileUpload\.idea\libraries\
     文件         669  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_springframework_boot_spring_boot_2_0_4_RELEASE.xml
     文件         767  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_4_RELEASE.xml
     文件         642  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_springframework_spring_web_5_0_8_RELEASE.xml
     文件         677  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         641  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_jboss_logging_jboss_logging_3_3_2_Final.xml
     文件         611  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_thymeleaf_thymeleaf_3_0_9_RELEASE.xml
     文件         707  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_6.xml
     文件         656  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_6.xml
     文件         658  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_32.xml
     文件         667  2018-08-19 21:32  springbootfileUpload\.idea\libraries\Maven__org_thymeleaf_thymeleaf_spring5_3_0_9_RELEASE.xml
............此处省略52个文件信息

评论

共有 条评论