Announcement Announcement Module
Collapse
No announcement yet.
Problem with dbproperties in my Spring Roo Mongodb web application. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with dbproperties in my Spring Roo Mongodb web application.

    Greetings everyone.

    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

    http://www.ibm.com/developerworks/li...oo7/index.html

    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.
Working...
X