errors on vaadin front end

i keep getting errors like this on vaadin project,even though i have generated it from her;i keep geting this error in my vaadin projects: Failed to find the following files:
- ./generated/jar-resources/lit-renderer.ts
- ./generated/jar-resources/cookieConsentConnector.js
- ./generated/jar-resources/vaadin-time-picker/timepickerConnector.js
- ./generated/jar-resources/contextMenuConnector.js
- ./generated/jar-resources/vaadin-grid-flow-selection-column.js
- ./generated/jar-resources/vaadin-popover/popover.ts
- ./generated/jar-resources/buttonFunctions.js
- ./generated/jar-resources/gridConnector.ts
- ./generated/jar-resources/dndConnector.js
- ./generated/jar-resources/messageListConnector.js
- ./generated/jar-resources/contextMenuTargetConnector.js
- ./generated/jar-resources/datepickerConnector.js
- ./generated/jar-resources/vaadin-big-decimal-field.js
- ./generated/jar-resources/comboBoxConnector.js
- ./generated/jar-resources/selectConnector.js
- ./generated/jar-resources/tooltip.ts
- ./generated/jar-resources/ReactRouterOutletElement.tsx
- ./generated/jar-resources/flow-component-renderer.js
- ./generated/jar-resources/gridProConnector.js
- ./generated/jar-resources/menubarConnector.js
- ./generated/jar-resources/virtualListConnector.js
- ./generated/jar-resources/vaadin-map/mapConnector.js
-

Did you try mvn vaadin:clean-frontend? This mostly solves such issues for me.

it doesnt work,it pops up in most of my vaadin projects

Some toughts:

  • Sometimes there are problems with access rights to files and folders. Sometimes I had to update the access rights in windows explorer manually.

  • Download a starter project start it. If it work, delete the /frontend/generated folder, so it has to generated on application startup. Does it still occur?

  • If this works, download a new starter project and copy all of your code into the working project. In the past when migration from Vaadin 10+ to newer versions, this was the only solution that could fix the project.

  • Maybe try this on another computer. Maybe something is broken.