Spring Roo 1.2.0.RELEASE available now
We are very happy to announce the availability of Spring Roo 1.2.0.RELEASE (download here). Spring Roo is a rapid application development tool for Java, allowing you to create full enterprise applications in just minutes.
I will be writing a blog post soon for this major release, so please watch out for this.
Spring Roo has a very active community and responsive development team, so if you have any questions on this new release, please feel free to ask the Spring Roo engineering team on the Community Forum. You'll also find us on Twitter - either follow @SpringRoo or just include #SpringRoo in your tweets.
We hope you enjoy this new release.
GWT, Spring ROO & Mongo DB - integration issue
Hi,
I am working on a project using Spring ROO 1.2.0.GA release, mongodb 2.0.1 and gwt2.4.0.
I'm able to integrate Spring ROO and GWT, but when I try to connect to Mongo db, I get the following errors:
Error:
[ERROR] SEVERE: Could not find the locator type specified in the @com.google.web
.bindery.requestfactory.shared.ProxyForName annotation com.gwtmongo.Person
[ERROR] java.lang.ClassNotFoundException: com.gwtmongo.server.locator.PersonLoca
tor
...
[ERROR] SEVERE: Unexpected error
[ERROR] com.google.web.bindery.requestfactory.server.Unexp ectedException: Could
not find the locator type specified in the @com.google.web.bindery.requestfactor
y.shared.ProxyForName annotation com.gwtmongo.Person
[ERROR] at com.google.web.bindery.requestfactory.server.Servi ceLayerDeco
rator.die(ServiceLayerDecorator.java:216)
[ERROR] at com.google.web.bindery.requestfactory.server.Locat orServiceLa
yer.resolveLocator(LocatorServiceLayer.java:127)
[ERROR] at com.google.web.bindery.requestfactory.server.Servi ceLayerDeco
rator.resolveLocator(ServiceLayerDecorator.java:15 7)
I think it is missing the PersonLocator class, but I'm not sure how to generate it. If someone can help me on this, that would be great. I appreciate it.
I am following these steps
1) project --topLevelPackage com.gwtmongo
2) mongo setup
3) entity mongo --class ~.Person --testAutomatically
4) field string --fieldName firstName --notNull
5)web mvc setup
6) web mvc all --package ~.web
7)repository mongo --interface ~.repository.PersonRepository --entity ~.Person
8)service --interface ~.service.PersonService --entity ~.Person
9)web gwt setup
10) web gwt request all --package ~.client.request
11) web gwt proxy all --package ~.client.proxy
12)web gwt scaffold --proxyPackage ~.client.proxy --requestPackage ~.client.request --type ~.Person
13)perform package
14) mvn gwt:run
Thanks
Ramesh