简体   繁体   中英

eclipse, dynamic web project, adding another eclipse project to classpath

I have an eclipse dynamic web project that uses another project that contains all the business logic. I am able to get everything to run ok when I create a jar for the other project and add to WEB-INF/lib, but I would like to not do this.

In Java Build Path > Projects I have the project added, and in Project References I also have it added.

Any other ideas? Did some searching and was not able to find the answer, thanks. bp

You need to add business project in deployment assembly of dynamic web project.

Steps: Right Click on dynamic web project -> properties -> deployment assembly -> Add-> Project -> Select your project -> Finish

Redeploy your web application. This should work!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM