运行异常
steven_zxc
这个作者很懒,什么都没留下…
展开
-
有关 Thumbnails的报错No suitable ImageReader found for 文件路径/文件名.jpg
使用 Thumbnails进行图片压缩时报错:No suitable ImageReader found for 文件路径/文件名.jpg初始代码: Thumbnails.of(address).scale(0.25f).toFile( realPath+"\\"+type+"\\"+"copy.jpg");本地测试无报错,但是与前端进行联调时报错:No suitable ImageReader found经查阅信息知是Java不支持格式异常。将代码改为:byte[] bytes = fil原创 2021-12-13 10:54:52 · 4924 阅读 · 0 评论 -
项目启动报错:Error running ‘XX‘: Command line is too long. Shorten command line for xx
刚拉下来项目,初次启动时报错:error running ‘demotest.test2’: command line is too long. shorten command line for demotest.test2 or also for junit default configurationalso for Application default configuration.起初我编辑了WebApplication的环境:配置完成后WebApplication就可以正常启动了。但在我启动原创 2021-12-07 09:27:28 · 661 阅读 · 1 评论