See the 'caused by', in this case: Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "org.apache.commons.discovery.log.level" "read")
Apparantly the library you use is trying to access this property. You can disable the setting 'emulate cloud security' for now to continue developing but in the cloud you'll have to request permission to read this property.