Grails : No domain class found for name domain-class-name . Please try again and enter a valid domain class name
Sometimes, even if you create domain objects in grails you get the error that No domain class found.
I am not sure why this happens because I am new to Grails and still learning. But the following steps work for me
i) Stop all the running grails app ctrl+C
ii) grails clean
iii) Now try grails generate-all domain-class-name
This generally works for me. I will update this post if I find the root cause of the problemSom
Building Web Apps with Spring 3.0 – Meeting notes
This presentation and notes are from the May 2009 Java User group meeting in Twin Cities. You can view the details and download the code from http://www.intertech.com/UserGroups/JUGPresentation.aspx?TopicID=135 It was an excellent presentation. Bob has discussed about new cool features in Spring 3 and how it simplifies the Spring MVC development. These presentation slides are created by him and all rights lies with him.
- DispatcherServlet is the central servlet handling requests
- See slide 7. The request handling takes place in the following order
- HTTP Request is first handled by Dispatcher Servlet
- DispatcherServlet refers HandlerMapping find the controller which will handle the request
- DispatcherServlet sends the request to the Controller. Controller returns view and/or model.
- DispatcherServlet refers to ViewResolver to determine the view page based on logical view name
- View is rendered
- Controller hierarchy is deprecated in Spring 3.Just annotation is enough. No need to implement life-cycle methods
- Flexible method arguments. Flexible return types.
-
Annotations like
@RequestParam
@ModelAttribute
@RequestMapping
@SessionAttribute
@InitBinder
and WebBindingInitializer - Convention verses configuration
- ControllerClassNameHandlerMapping
- Model and ModelMap
- Rest Support
Stateless, cacheable, scalable, communication protocol
HTTP Methods – GET, POST, PUT(Idempotent), DELETE(Idempotent), HEAD, OPTIONS - Spring 3.0 has REST support
-
Archives
- October 2009 (2)
- September 2009 (3)
- August 2009 (2)
- July 2009 (1)
- June 2009 (2)
- May 2009 (3)
- April 2009 (8)
- February 2009 (2)
- December 2008 (1)
- November 2008 (3)
- October 2008 (1)
- January 2008 (8)
-
Categories
-
RSS
Entries RSS
Comments RSS
