Tomcat throws ClassNotFound exceptions for classes in other open eclipse projects

后端 未结 6 968
予麋鹿
予麋鹿 2020-12-08 01:05

I have an eclipse project structure that looks something like this:

eclipse
    project a
    project b

All of these projects are Maven pro

6条回答
  •  旧巷少年郎
    2020-12-08 01:42

    If you go to the project properties, pick the item "Deployment Assembly", click "Add..." and choose "Project", you can add the dependent project and the issue should be solved.

提交回复
热议问题