Trying to read a serverside file with GWT <p>I am new to the whole GWT thing and for a project I need to read a serverside file via an asynchronous call and return an array of data to the client. So far I followed an RPC tutorial and implemented the server and client side code as well as the web.xml file but when I try to RPC the DataExtraction method on my client, it will result in the following error:</p> <blockquote> <p>javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract int[] ch.uzh.ifi.se.swela.client.DataExtractorService.extract(java.lang.String) throws java.io.IOException' threw an unexpected exception: java.security.AccessControlException: access denied ("java.io.FilePermission" "/SE Swiss Election App/war/tables/Ferien_K.csv" "read")</p> </blockquote> <p>This is the call:</p> <pre><code>DataExtractorServiceClientImpl clientImpl = new DataExtractorServiceClientImpl(GWT.getModuleBaseURL() + "dataExtractor"); clientImpl.extract("/SE Swiss Election App/war/tables/Ferien_K.csv"); </code></pre> <p>For me it seems like, that the server does not have the permission to open the file, but how would I fix that? Thank you in advance.</p>