Jan 30th, 2013, 12:34 PM
Problem with dbproperties in my Spring Roo Mongodb web application.
I have a question for the community, please, bear in mind, I am very inexperienced with spring.
I am trying to run a Spring Roo project using mongodb as it appears in this tutorial
If you go to Listing 17, it will show you the applicationContext-mongo.xml file, and then proceed to tell you that you should change the "mongo.database" in the first line for "mongo.name"
My problem is as follows:
If I leave it as it is generated, I get an error 404 when I run my application.
If I change it to "mongo.name" I get an error 500 when I run it.
I am following step by step the instructions in the tutorial, but I can't run the project. Does anyone have an idea about what may be the problem? I can provide some of the contents of the log.roo, applicationContext-mongo.xml, and screenshots showing the errors if you think it's necessary.
Thanks in advance.