Tomcat throws ClassNotFound exceptions for classes in other open eclipse projects

后端 未结 6 964
予麋鹿
予麋鹿 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:31

    Right click on the web project which is added to container server and select Maven and then select Disable Workspace Resolution. Then your dependency project will start appearing as a jar like any other dependencies.

    Right Click on the WebProject --> Maven --> Disable Workspace Resolution.

提交回复
热议问题