Can you post your query here for a quick and appropriate response: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/ct-p/adobe-experience-manager-forms-community
Did you add the dependency in both core pom and main pom? Are you able to see the dependency being downloaded into your .m2 folder? Check if the bundle is available in AEM as well after the build is done.
Are you seeing any exception in the log once the image is dropped?
What I would try is:
Create a new proxy component from image V2Author this new component with the webp to check if it's loading the image
This way we can identify if your custom component is having an issue with ...