如题,今天在尝试部署从SVN上down下来的项目时,发现不能被tomcat识别成web项目!原因是SVN上down下来的项目的结构并非典型的web项目。
解决办法,右键项目->properties->project faces:
将Dynamic Web Module和Java两个选项都勾上即可,注意他们的版本要求。
之后就会发现MyEclipse就能识别到可部署的项目了。
【补充】若web项目在启动的时候报错:NoClassDefFoundError,并且是跟jar包相关的class。在确定你已经在build path的时候引入了jar包以后,右键项目->Properties->MyEclipse->Deployment Assembly,点击Add按钮,选择Java Build Path Entries,加入相应的(user)library或jar包即可。
虽然这只是很简单的操作,但还是记录一下,以备不时之需~
相关推荐
它是基于Servlet和JavaServer Pages(JSP)技术的,对于小型项目或者学习Java Web开发来说,是非常理想的服务器选择。 创建Web Project的步骤如下: 1. **启动MyEclipse**:打开MyEclipse IDE,确保已经安装了...
MyEclipse是一个集成开发环境(IDE),它是基于Eclipse平台开发的,专注于提供Java EE应用程序的开发。由于MyEclipse主要面向企业级应用开发,因此在使用过程中,遇到无法部署项目到服务器的问题可能会妨碍开发进度...
Explore the up-to-date features of CentOS using real-world scenarios * See practical and extensive recipes to deploy and manage CentOS Who This Book Is For This book is for Linux professionals with ...
- Altiris部署解决方案是Altiris Server Management Suite的一个组成部分,为管理员提供了一个单一的管理框架,以实现完整且自动化的服务器构建。 2. **自动化构建流程**: - Altiris自动化了硬件和软件的构建...
This continual evolution makes Kubernetes deployment a bit of an unsteady, fast-moving target. Still, the Kubernetes movement is the center of attention for organizations at the leading edge of ...
《Office SharePoint Server 2007的部署》 这本书是为准备部署Microsoft Office SharePoint Server 2007的应用程序专家、业务线应用专家以及IT管理员提供详细的部署指南。在使用本书中的步骤之前,建议读者先阅读...
"Altiris安装配置学习教程(三)- 安装配置Deployment Server"是针对如何设置和管理Altiris Deployment Server的详细指南。Deployment Server是Altiris的核心组件,它负责执行软件分发、系统迁移、更新和维护任务。 ...
### WebLogic Server Deployment部署问题故障排除总结 #### 一、问题描述 在部署过程中遇到的主要问题是WebLogic Server无法正确部署应用。具体表现为服务器选择的是旧版本的应用程序,而不是重新部署的新版本的...
We argue that this finding is due to the fact that increasing the frequency of continuous deployment forces improved release and deployment automation, which in turn reduces developer workload....
When ASP was first released, Web programming was more difficult because you needed IIS to serve your ASP pages. Later, ASP.NET 2.0 and Visual Studio® 2005 made everything easier by introducing the ...
If you are growing your MySQL installation and want to explore making your servers highly available, this book provides what you need to know about high availability and the new tools that are ...
Automate deployment of a database to the production server Create reports on data and automate data report delivery Manage security in databases quickly Develop and manage SQL Azure databases Populate...
Chapter 1, Introducing BizTalk Server 2010: This chapter introduces the reader to BizTalk Server, its capabilities, and internal architecture in an abstract manner. It introduces fundamentals of ...
With this book, you will get exposure to the various tools, techniques, and workarounds available for the development and deployment of a Docker infrastructure in your own cloud, based on the author'...
Srdjan Grubor is a software engineer who has worked on projects large and small for many years now, with deployment sizes ranging from small to global. Currently, he is working on solving the world's ...