Maven Tutorial 01 Part 1- Introduction and Setting up

Java Brains · 946K views · 2011 · 13:23

Open on YouTube

Testing, debugging & developer toolsSoftware practice, open source & careerstutorial

Why Stack Overflow recommends it

Stack Overflow users link it when answering newcomers who need to understand Maven, install it, or grasp how it handles dependencies.

Recommended by 4 people across 4 different months, 2013 to 2017.

What it is

The first video in Java Brains' Maven tutorial series, covering how to download and install Maven in a development environment. Presented by the Java Brains channel as a beginner screencast.

What people said

Recommends Rash · 2015-02 · Stack Overflow · on “Neo4j, REST API, java - cypher queries”

Like @chrylis pointed out, your error seems to be the issue that you don’t have the required jars and hence the errors. Now from your comments, I see that you are having difficulties with understanding maven and dependencies. So here's a simple guide that I made for you. [Understand that this is NOT a one stop guide and this program might not run out of the box. Its running for me at the moment but it depends on many things including what version of neo4j you are running and several other configuration factors. Nonetheless, this should be sufficient to get you started. ] You need to have maven installed on your system. There are few cool tutorials on maven. One is here. [this video] But like me i

Recommends iamiddy · 2015-10 · Stack Overflow · on “Could not initialize class MongoRepositoryConfigurationExtension - MongoDB with Spring 4.2”

Even-though it is not what you asked for but I will encourage you to leverage build mgt tools like Maven Or Gradle etc, any of those will seamlessly resolve all of the transitive dependencies which could be the issue here and increase your productivity rate tremendously a quick you-tube to get you started with maven [this video] plain spring mvc app pom.xml focus on the mongo dependencies part [LINK] Spring boot app pom.xml focus only on the mongo party [LINK] In both cases I've used BOM to deal with dependencies versions mismatch as explained here [LINK]

Recommends Laszlo Merczel · 2016-04 · Stack Overflow · on “Eclipse add external jars doesn't work to add them as Referenced libraries”

... the jar files you need. Now used together with Eclipse, Eclipse will set up the project for you based on the settings you've provided in the pom.xml file - e.g. it'll set up the Referenced libraries, etc. Here's a small series of video tutorials about Maven basics (not mine, but good anyway!) - [this video] Parts 01 - 04 will get you covered with what you need for a quick start.

Recommends Tommy Thompson · 2017-05 · Stack Overflow · on “Is Maven similar to npm?”

In addition to the information above, the following [this video] does a great job describing Maven's use as a package manager

Cites Woy · 2013-11 · Stack Overflow · on “Apache Maven disappears after installation”

for the M2_HOME variable I'm setting the absolute path to my Maven directory. It's: /home/mentor/java/apache-maven-3.1.1/ For the PATH I'm setting the path to the Maven's bin dir: /home/mentor/java/apache-maven-3.1.1/bin/ btw I'm using this tutorial to study Maven: [this video]