Vous êtes sur la page 1sur 2

(/)

Courses (/courses) Help (/help) About (/about) Blog (http://ed-blog.mongodb.com/) DMAKETAS (/DASHBOARD)

M101J: MongoDB for Java Developers


Courseware (/courses/10gen/M101J/2013_October/courseware) Discussion (/courses/10gen/M101J/2013_October/discussion/forum) Progress (/courses/10gen/M101J/2013_October/progress) Course Info (/courses/10gen/M101J/2013_October/info) Wiki (/courses/10gen/M101J/2013_October/course_wiki)

SEARCH

Homework: Homework 1.4


We are now going to test that you can run a Maven-based project that depends on the MongoDB Java driver, Spark, and Freemarker. Download hw1-4.zip or hw1-4.tar, uncompress it, cd to the hw-1.4 directory, and run Maven as follows:
m v nc o m p i l ee x e c : j a v aD e x e c . m a i n C l a s s = c o m . t e n g e n . W e e k 1 H o m e w o r k 4

Like the previous homework, it requires Maven to be installed correctly, your mongod server to be running, and that you have run mongorestore properly from HW 1.1. If all is working correctly, there should be two lines towards the bottom that say:
= =S p a r kh a si g n i t e d. . . > >L i s t e n i n go n0 . 0 . 0 . 0 : 4 5 6 7

Next, open a tab in your web browser and navigate to http://localhost:4567 (http://localhost:4567). There should be a single line of text that starts with:
T H EA N S W E RI S :

Type the number that appears after the colon into the box below, no spaces or punctuation.

2805

HIDE ANSWER

You have used 0 of 3 submissions

Products & Services (http://www.mongodb.com/products/mongodb) Events (http://www.mongodb.com/events) Partners (http://www.mongodb.com/partners) Customers (http://www.mongodb.com/customers) About MongoDB (http://www.mongodb.com/about) Contact Us (/contact) Careers (http://www.mongodb.com/careers)

(https://twitter.com/mongodbinc)

(http://www.facebook.com/mongodb)

(http://www.linkedin.com/company/783611)

(https://plus.google.com/101024085748034940765/posts) (http://edx.org) (http://www.mongodb.com)


2013 MongoDB, Inc. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB Inc.

Vous aimerez peut-être aussi