java.security.AccessControlException

access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read")

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web4767

  • via Google Groups by Alex Pinheiro via StackOverflow, 11 months ago
    access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
  • access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read")
  • access denied ("java.io.FilePermission" "C:\dev\sourceir\trunk\src\main\webapp\WEB-INF\appengine-generated\encoded_gs_key:L2dzL2lyZXNlcnZvcy8xZjdkZGY4Zi02NTBmLTRkZjMtYjhkOC02MTUyZDFmZTkwZDYucGRm" "write")
  • Stack trace

    • java.security.AccessControlException: access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372) at java.security.AccessController.checkPermission(AccessController.java:559) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:429) at java.lang.SecurityManager.checkRead(SecurityManager.java:888) at java.io.FileInputStream.<init>(FileInputStream.java:135) at java.io.FileInputStream.<init>(FileInputStream.java:101) at com.example.myexample.myapplication.backend.MyServlet.doPost(MyServlet.java:81)

    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
    Once, 2 weeks ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    77 more bugmates