Your data frame contains multiple layers that reference a single feature class and you are publishing a map service with WFS capabilities.
Note:
Starting at ArcGIS 10.5 Server publishing a map that contains multiple layers that reference a single feature class as a map service with WFS capabilities is supported.
Solution
- Change the data source for layers so that there is only one layer per feature class. You may need to create new feature classes if appropriate data does not exist.
- Alternatively, you can remove layers so that there is only one layer per feature class.
More information
Multiple layers cannot point to the same feature class if you are publishing a map service with WFS capabilities.