Message "The desktop entry file "/usr/share/applications/org.freedesktop.Xwayland.desktop" has Type= "Application" but has no Exec field." is spamming journald

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-1-MANJARO (64-bit)
Graphics Platform: Wayland

The error is pretty clear, the file /usr/share/applications/org.freedesktop.Xwayland.desktop has no Exec field. For comparison here is the content of this file on my system:

[Desktop Entry]
Name=Xwayland
Comment=A rootful instance of the Xwayland X11 server
Terminal=false
Type=Application
Categories=System;
Exec=/usr/bin/Xwayland -decorate -displayfd 1
NoDisplay=true

Please notice Exec=/usr/bin/Xwayland -decorate -displayfd 1 line which apparently is missing in your file.

I’m on Fedora 40 and
$ dnf5 provides /usr/share/applications/org.freedesktop.Xwayland.desktop
shows this file is part of xorg-x11-server-Xwayland-24.1.2-1.fc40.x86_64 package.
You might want to reinstall it with
$ sudo dnf5 reinstall xorg-x11-server-Xwayland
restoring the original version of the file in case the Exec field was removed from the file after the package had been installed.