一个为Java web项目,一个为Java项目。 编译时关联: Java Build Path -> Projects -> Add 运行时关联: Deployment Assembly -> Add -> Project