eclipse项目引用项目方法 在Java Build Path中将被引用项目Add加入到引用项目中。 在Deployment Assembly中将被引入项目Add加到配置项中。 这样在项目发布到tomcat中时被引入项目会被打成jar包,其关联的jar包也会随着发布。