logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

idea删除git信息

开发过程中经常是在别人的git代码上修改的,但是上传到新的分支会出现问题,于是需要去掉项目中的git信息。首先打开菜单:Settings --> Version Control,选择项目点减号“-”,去掉git信息。再删除项目根目录下.git文件夹即可...

SpringBoot 工具类项目打包问题

SpringBoot项目打包时出现:repackage failed: Unable to find main class Maven原因是没有主类(Main函数),由于是工具包,不需要主类。正常来说是可以打包的,但是有写引入的依赖会包含一个打包插件导致不能打包。解决方法是去掉这个插件:<build><plugins><plugin><groupId&gt

Spring boot 解析mp4格式视频交给前端进行播放

@ApiOperation(value = "mp4", notes = "mp4")@GetMapping("/mp4")public void mp4(@ApiParam(value = "mp4路径") @RequestParam String path, HttpServletResponse response) {String file = this...

SpringBoot 运行报log4j:WARN No appenders could be found for logger

warning如下:log4j:WARN No appenders could be found for loggerlog4j:WARN Please initialize the log4j system properly.原因是log4j默认的配置文件在src下,src没有log4j.properties导致报warning将配置文件log4j.properties放入到…\sr...

Git stash命令详解和使用

Git stash命令详解和使用stash的原理:将本地没提交的内容(git commit的内容不会被缓存 但git add的内容会被缓存)进行缓存并从当前分支移除,缓存的数据结构为堆栈,先进后出stash的参数详解:#1. git stash/git stash savegit stash与git stash save是一样的,将没有提交的内容缓存并移除,而这条缓存名称为最新一次提交的commi

暂无文章信息