动态 Web 项目库
在我的时区早上好。
我已将一个动态 Web 项目导入到我的 Eclipse 中。我已经下载了Tomcat服务器。 如果我在没有任何 IDE 的情况下工作,我知道我们在项目中使用的每个库都必须位于 tomcat 的 lib 文件夹内。
文件夹结构:Tomcat\webapps\WEB-INF\lib
我的问题是,如果我需要一个库(*.jar),我应该将其直接放在 lib 文件夹中,还是应该在构建路径中配置,将其添加到库选项卡中?
第二个问题,我的项目 Steels 在项目名称上方有红十字,但我看不到错误在哪里,在 src 文件夹中没有类有任何错误,并且在 Web Content 文件夹中没有任何十字,所以我该怎么办知道问题出在哪里吗?
提前致谢。 向开发者社区致以最诚挚的问候。
Good morning in my timezone.
I have imported one Dynamic web project to my eclipse. I have downloaded the Tomcat server.
If I work without any IDE, I know that every libraries that we use in the project must be inside the lib folder in tomcat.
Folder structure : Tomcat\webapps\WEB-INF\lib
My question is, if I need a library (*.jar) should I put it directly in the lib folder or should I configure in the build path, adding it in the libraries tab?
Second question, my project steels have the red cross above the project name, but I do not see where the error is, in the src folder no class have any error and inside the Web Content folder there is not any cross, so how can I know where the problem is?
Thanks in advance.
Best regards developer community.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
项目 ->构建路径->配置->库
。如果没有tomcat运行库,你应该添加它。(我假设tomcat嵌入在eclipse中。如果没有,右键单击服务器(控制台旁边)并添加tomcat服务器。)project -> build path -> configure -> libraries
. if there is no tomcat runtime lib, you should add it.(I assume tomcat is embedded in eclipse. If not, right click on servers(next to console) and add the tomcat server.)