Closed rahuldjha closed 2 years ago
java.lang.ClassNotFoundException: com.vaadin.flow.component.Component from [Module "deployment.appV14.ear" from Service Module Loader]
Looks like you are missing dependencies in your final ear.
java.lang.ClassNotFoundException: com.vaadin.flow.component.Component from [Module "deployment.appV14.ear" from Service Module Loader]
Looks like you are missing dependencies in your final ear.
I verified that the ear and war dependencies were present, and that the build and deployment were successful; however, it is throwing a runtime exception while navigating between modules.
I found the root cause. It's an ear generation issue.
Description of the bug
I have migrated one of the projects from vaadin8 compatibility mode to vaadin flow 14.8.11. Build and deployment was successful, now on runtime when I am trying to navigate between modules, it is throwing the exception. Please find the stack trace below.
Expected behavior
The application should build, deploy and navigate smoothly.
Minimal reproducible example
Migrate project from vaadin8 compatibility mode to vaadinflow 14.8.11. Deploy the same with jboss-eap-7.3 container.
Versions