First of all, it’s not good to change the type of web project once you have created its bad practice. You must decide before starting your project to do this as a dynamic web project or with maven. When you do this, this will help to avoid many errors when converting a project type to another, as well as when using the IDE to create, for example, a Maven project, it will automatically create a database based on your project configurations.
- Maven. :
Eclipse, , → Maven. , , :
Maven
- java
\src\main\java web.xml \src\main\webapp\WEB-INFpom.xml .
( - , )
pom.xml. pom.xml, .
. , , -, pom.xml.
mvn compile. , . Windows, , Linux, Terminal.
() , Eclipse IDE, mvn eclipse:eclipse -Dwtpversion=2.0.
.war . /Terminal maven mvn war:war. WAR .