当我使用app引擎开发我的应用程序时,我只想使用以下代码读取存储在gaevfs中的文件:this.shpAccessFile = new RandomAccessFile(this.shpFileName,“r”);但它抛出新的AccessControlException(“访问被拒绝”+烫发,烫发);所以有人能告诉我如何解决这个问题吗?
java.security.AccessControlException: access denied (java.io.FilePermission gae:\F:\workspace\GeoCloud\war\gaevfs\cecc8aa0-7405-102e-b976-026d7f000001\longrive.shp read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at com.google.appengine.tools.development.DevAppServerFactory$CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:203)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
at com.vobject.appengine.java.io.RandomAccessFile.<init>(RandomAccessFile.java:90)