I had this error when I imported through @import a class that was not deployed to the server. Unfortunately, the stack does not tell you which class is missing, but you can figure it out by deleting them one by one and reloading the application.
Now, why should the class not be deployed on the server if the project really compiles?
EDIT : I found out that I had a problem when import uses a class that is in the classpath through a dependency on Maven. I also had this dependency (project) tested in Eclipse. In this case, it seems that Eclipse will deploy the project, which will be verified instead of building from the repository. He will not look at the external dependence of this project.
Decision. Close all external dependency projects in Eclipse to make sure that you are actually deploying the version from the Maven repository.
pmartin8
source share