摘要: 不知道eclipse中怎么安装github插件的,可以查看地址https://www.cnblogs.com/zhushilai/p/13503652.html 1对需要更新的文件点击右键,然后点击Team下面的commit 注意,左侧的unstaged changes是系统扫描出来的更新文件,点击 阅读全文
posted @ 2020-08-17 18:28 我是一只老白兔 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 1在pom.xml中添加Maven的依赖,如果没有对应的依赖,运行后会报错:no main mainfest attribute,in xxx.jar <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <ar 阅读全文
posted @ 2020-08-17 17:00 我是一只老白兔 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 一 对上传图片加以限制 1.1可以直接在有@springbootApplication注解的类或者是有@Configuration注解中的类中添加以下限制,然后运行application即可, 如果没有这2种注解,自己写一个工具类,添加注解也行 /** * 设置上传文件的类型 * 注意Multipa 阅读全文
posted @ 2020-08-17 15:59 我是一只老白兔 阅读(1066) 评论(0) 推荐(0) 编辑