java.io.IOException

Server returned HTTP response code: 403 for URL: <a href="http://202.144.57.221:8080/jasperreports.jar" target="_blank" rel="nofollow">http://202.144.57.221:8080/jasperreports.jar</a>

Samebug tips1

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web12812

  • via Coderanch by Tausif Khanooni, 11 months ago
    Server returned HTTP response code: 403 for URL: <a href="http://202.144.57.221:8080/jasperreports.jar" target="_blank" rel="nofollow">http://202.144.57.221:8080/jasperreports.jar</a>
  • via Oracle Community by 807587, 11 months ago
    Server returned HTTP response code: 403 for URL: http://202.144.57.221:8080/jasperreports.jar
  • via Coderanch by soumya ravindranath, 7 months ago
    Server returned HTTP response code: 403 for URL: <a href="http://myIP:8080/Notepad/notepad.jnlp" target="_blank" rel="nofollow">http://myIP:8080/Notepad/notepad.jnlp</a>
  • Stack trace

    • java.io.IOException: Server returned HTTP response code: 403 for URL: <a href="http://202.144.57.221:8080/jasperreports.jar" target="_blank" rel="nofollow">http://202.144.57.221:8080/jasperreports.jar</a> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:691) at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:369) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(HttpURLConnection.java:1133) at sun.plugin.net.protocol.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:330) at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367) at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:39) at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:311) at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:131) at sun.plugin.cache.JarCache.get(JarCache.java:177) at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:71) at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:56) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:498) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:459) at sun.misc.URLClassPath$2.run(URLClassPath.java:255) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:244) at sun.misc.URLClassPath.getLoader(URLClassPath.java:221) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473) at sun.applet.AppletPanel.createApplet(AppletPanel.java:548) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1621) at sun.applet.AppletPanel.runLoader(AppletPanel.java:477) at sun.applet.AppletPanel.run(AppletPanel.java:290) at java.lang.Thread.run(Thread.java:536)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    10 times, 1 month ago
    Once, 1 month ago
    4 times, 6 months ago
    Once, 6 months ago
    76 more bugmates