Don't create a dynamic project, instead :
1)Create a new maven project in eclipse from File-->New-->Other and select Maven
2)Give location of project and click next
3)From the archetype select maven-archetype-webapp and click next
4)In Group Id give the package name like "com" and in Artifact Id give appropriate name so by all this a package will be created
5)Now your maven project is ready, to add the jar files means you need to add dependencies
6)So goto mvnrepository.com and search for the jar files you need to add,select the latest stable release and then copy the dependency from the Maven Tab
7)Now open pom.xml from the created project and add the copied dependency inside the dependencies tag and do a ctrl + s
8)It will automatically download and add the required jar files to your library