I got a problem when I run a Java action(GetFile From the resourse) and i got the error at Runtime that java.io.FileNotFoundException (Access is denied)

0
I had a problem calling a Java action (GetFile From the resourse). The error shows that this  “MendixRuntimeException: java.io.FileNotFoundException: “File Name” (Access is denied).     Any ideas on how can I solve the error? Thank you
asked
2 answers
0

Does the user had the right access to get the file? Maybe you should check your security settings (app & module security) and the accesrules?

answered
0

Where is the file location? If you've deployed the application to somewhere like the Mendix Cloud, the file will need to be in the resources folder of your application if you want to access it from Java.

 

Good luck!

answered