Your layer is z or m aware and you are attempting to publish a service with Feature Access (feature service) enabled where the storage type is Oracle Spatial.
Solution
Remove the layer from your map.
More information
Oracle Spatial z or m enabled tables cannot be queried.