Server returning 403 for url openStream()

前端 未结 3 1686
故里飘歌
故里飘歌 2021-01-04 22:50
import java.net.URL;
import java.io.*;
import java.net.MalformedURLException;
import java.util.logging.Level;
import java.util.logging.Logger;
public class Test {
           


        
3条回答
  •  無奈伤痛
    2021-01-04 23:39

    This is now a completely different question so I have edited your title.

    According to your edit, you aren't getting null pointer exceptions, you are getting HTTP 403 status, which means 'Forbidden', which means you can't access that resource.

提交回复
热议问题