[英]Getting error on running the Tomcat server
I am learning about servlets and JSP files and following the tutorial in link to have at least a basic understanding. 我正在学习servlet和JSP文件,并按照链接中的教程至少有一个基本的了解。 But I am stuck at the beginning of the tutorial when servlet has to be run on Tomcat.
但是,当必须在Tomcat上运行servlet时,我会陷入本教程的开头。 I am getting the following error:
我收到以下错误:
Can anyone please tell if there is something I need to do to run Tomcat without this error? 谁能告诉我在没有此错误的情况下运行Tomcat是否需要做些什么?
I think you have not set up your environment correctly. 我认为您没有正确设置环境。 I would suggest to use NetBeans IDE (with required services).
我建议使用NetBeans IDE(带有必需的服务)。 While installing the IDE you will find option to install tomcat or glassfish server.
在安装IDE时,您会找到安装tomcat或glassfish服务器的选项。 After installing create a
Java Web->Java Web Application
project. 安装后,创建一个
Java Web->Java Web Application
项目。 All things should go perfect if you just run the project. 如果您仅运行项目,那么所有事情都应该完美。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.