Frontend Dependencies have not been analyzed

Hi guys, I tried to build my project jar file then run with this command, “java -jar project.jar”, and got this error.

Frontend dependencies have not been analyzed for com.vaadin.flow.component.notification.Notification. To make the component’s frontend dependencies work, you must ensure the component class is directly referenced through an application entry point such as a class annotated with @Route.

Do you have any idea what this means?

nvm guys, problem solved… I just have to run “mvn clean install -Pproduction”