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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Alex Pinheiro
, 1 year ago
access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read")
via Google Groups by mikeshimura, 2 years ago
access denied (java.io.FilePermission \smartclient-images.zip read)
via Google Groups by Alex Pinheiro via StackOverflow, 4 months ago
access denied ("java.io.FilePermission" "\src\main\webapp\WEB-INF\My File-89b47a8357ff.json" "read")
via Stack Overflow by user583066
, 2 years ago
access denied (java.io.FilePermission /war/WEB-INF/StaticContent.xml read)
via Google Groups by Abhijeet Sinha via StackOverflow, 1 month ago
access denied (java.io.FilePermission D:\WorkSpace\GAE\GSTWebApp\war\WEB-INF\GSTTranslationstest.xml read)
via Stack Overflow by Abhijeet Sinha
, 2 years ago
access denied (java.io.FilePermission D:\WorkSpace\GAE\GSTWebApp\war\WEB-INF\GSTTranslationstest.xml read)
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 java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.FileInputStream.(FileInputStream.java:135)
at java.io.FileInputStream.(FileInputStream.java:101)
at com.example.myexample.myapplication.backend.MyServlet.doPost(MyServlet.java:81)

Users with the same issue

2 times, 1 month ago
Once, 6 months ago
Once, 6 months ago
Once, 7 months ago
12 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.