简体   繁体   English

Eclipse动态Web项目IDE中的“Java Build Path”和“Deployment assembly”有什么区别?

[英]What is the difference between “Java Build Path” and “Deployment assembly” in Eclipse dynamic web project IDE?

I see these two options in dynamic web project in Eclipse IDE. 我在Eclipse IDE中的dynamic web project中看到了这两个选项。

I have been working for a year in Eclipse IDE, but still couldn't get a clear difference between Java Build Path and Deployment assembly , 我在Eclipse IDE中工作了一年,但仍然无法在Java Build PathDeployment assembly之间找到明显的区别,

because when I encounter a problem some answers suggest me to add jars to Deployment Assembly (I do that and it works) and some recommends to add things to "Java Build path" and it works. 因为当我遇到问题时,一些答案建议我将jar添加到Deployment Assembly(我这样做并且它可以工作),并且有些人建议将内容添加到“Java Build path”并且它可以工作。 Some say restart eclipse and things work. 有人说重启eclipse和事情都有效。

I would really like to understand the difference and learn. 我真的很想了解差异并学习。 Please help. 请帮忙。

当你有建议添加一些jar来构建路径时,这意味着它们需要编译和运行时,在另一种情况下,你的代码只能用于编译,因为eclipse不会创建那些jar,除非你把它们放在服务器的库文件夹中(这是部署组装的手动方式)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在任何java项目的eclipse构建路径中,项目和库之间有什么区别 - what is the difference between projects and libraries in eclipse's build path for any java project Eclipse Not Find Classes 添加到构建路径(Java 动态 Web 项目) - Eclipse Not Finding Classes added to the build Path (Java Dynamic Web Project) 在eclipse中设置classpath和java build path有什么区别? - What is the difference between setting the classpath and java build path in eclipse? 将项目 JAR 添加到部署程序集,但不在 Eclipse 中构建路径 - Add project JAR to deployment assembly but not build path in Eclipse Eclipse + Maven +动态Web项目 - > Maven覆盖部署程序集 - Eclipse + Maven + Dynamic Web Project -> Maven overwrites Deployment Assembly Java Eclipse中动态Web项目中没有文件路径 - No file path in dynamic web project in java eclipse 适用于 JavaScript 和 Web 开发人员的 Eclipse IDE 与适用于 Java EE 的 Eclipse IDE 之间的区别 - Difference between Eclipse IDE for JavaScript and Web Developers and for Java EE 在Eclipse部署程序集中将Web项目添加为jar - Adding a Web Project as a jar in an Eclipse Deployment Assembly Maven-archetype-webapp和Eclipse动态Web项目之间有什么区别 - what is the difference between maven-archetype-webapp and eclipse dynamic web project Web Fragment Project和Dynamic Web Project有什么区别? - What is the difference between Web Fragment Project and Dynamic Web Project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM