eclipse在lib下粘贴jar包报错Cannot paste the clipboard contents into the selected elements

今天在向项目的lib文件夹下粘贴jar包时报错如下:
eclipse在lib下粘贴jar包报错Cannot paste the clipboard contents into the selected elements

本来以为是复制错了,反复试了很多次都不行。
然后查看jar包属性发现是已压缩:
eclipse在lib下粘贴jar包报错Cannot paste the clipboard contents into the selected elements

这就对了,复制的是一个压缩过的jar包当然粘贴不上,解压后顺利导入。