The type List is not generic; it cannot be parameterized with arguments [HTTPClient]

前端 未结 4 1821
清歌不尽
清歌不尽 2020-12-08 02:08
import java.awt.List;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.I         


        
4条回答
  •  悲哀的现实
    2020-12-08 02:22

    I got the same error, but when i did as below, it resolved the issue.
    Instead of writing like this:

    List nameValuePairs = new ArrayList(1);
    

    use the below one:

    ArrayList nameValuePairs = new ArrayList(1);
    

提交回复
热议问题