java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF 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 Google Groups by Bendanpa, 2 years ago
access denied (java.io.FilePermission /WEB-INF read)
via Google Groups by Nilanjan Raychaudhuri, 2 years ago
access denied (java.io.FilePermission /WEB-INF read)
via Coderanch by madhu gadde, 11 months ago
access denied (java.util.PropertyPermission sun.boot.class.path read)
via Stack Overflow by user1870741
, 2 years ago
access denied ("java.io.FilePermission" "/Users/Matt/Desktop/JavaFinalAssignment/highscore.csv" "write")
via Oracle Community by 843802, 1 year ago
access denied (java.util.PropertyPermission java.util.logging.config.file read)
via Oracle Community by 843802, 1 year ago
access denied (java.io.FilePermission D:\Documents and Settings\703052286\My Documents read)
java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:355)
at java.security.AccessController.checkPermission(AccessController.java:567)
at com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:45)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.isFile(File.java:843)
at scala.tools.nsc.io.Path$.apply(Path.scala:54)
at scala.tools.nsc.io.Directory$$anonfun$list$1.apply(Directory.scala:44)
at scala.tools.nsc.io.Directory$$anonfun$list$1.apply(Directory.scala:44)
at scala.collection.Iterator$$anon$19.next(Iterator.scala:327)
at scala.collection.Iterator$$anon$22.hasNext(Iterator.scala:378)
at scala.collection.Iterator$$anon$19.hasNext(Iterator.scala:326)
at scala.collection.Iterator$class.foreach(Iterator.scala:582)
at scala.collection.Iterator$$anon$19.foreach(Iterator.scala:325)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:83)
at scala.tools.nsc.io.AbstractFile.foreach(AbstractFile.scala:88)
at scala.tools.nsc.util.JavaClassPath$$anonfun$assembleEntries$1.apply(ClassPath.scala:352)
at scala.tools.nsc.util.JavaClassPath$$anonfun$assembleEntries$1.apply(ClassPath.scala:349)
at scala.collection.LinearSeqLike$class.foreach(LinearSeqLike.scala:97)
at scala.collection.immutable.List.foreach(List.scala:46)
at scala.tools.nsc.util.JavaClassPath.assembleEntries(ClassPath.scala:349)
at scala.tools.nsc.util.JavaClassPath.(ClassPath.scala:332)
at scala.tools.nsc.Global.classPath(Global.scala:220)
at scala.tools.nsc.Global.rootLoader(Global.scala:246)
at scala.tools.nsc.symtab.Definitions$definitions$.RootClass(Definitions.scala:37)
at scala.tools.nsc.symtab.Definitions$definitions$.EmptyPackage(Definitions.scala:39)
at scala.tools.nsc.symtab.Definitions$definitions$.EmptyPackageClass(Definitions.scala:40)
at scala.tools.nsc.symtab.Definitions$definitions$.init(Definitions.scala:765)
at scala.tools.nsc.Global$Run.(Global.scala:620)
at play.scalasupport.core.ScalaPlugin$ScalaCompiler.compile(ScalaPlugin.scala:208)
at play.scalasupport.core.ScalaPlugin.compile(ScalaPlugin.scala:143)
at play.scalasupport.core.ScalaPlugin.compileAll(ScalaPlugin.scala:93)
at play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:365)
at play.Play.preCompile(Play.java:446)
at play.Play.init(Play.java:245)
at play.server.ServletWrapper.contextInitialized(ServletWrapper.java:54)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:191)
at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:168)
at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123)
at com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:5838)
at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:398)
at com.google.net.rpc.impl.Server$2.run(Server.java:852)
at com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:56)
at com.google.net.rpc.impl.Server.startRpc(Server.java:807)
at com.google.net.rpc.impl.Server.processRequest(Server.java:369)
at com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:442)
at com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:319)
at com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:290)
at com.google.net.async.Connection.handleReadEvent(Connection.java:474)
at com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java:831)
at com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java:207)
at com.google.net.async.EventDispatcher.loop(EventDispatcher.java:103)
at com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java:251)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 2 weeks ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
79 more bugmates

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