Problem with Roo Trivial Example
Hi All,
I am currently evaluating Roo because looks great for application development and cover all my requeriments.
I am only worried because i cant run this example in tomcat following exactly the instructions here: http://www.springsource.org/roo/start
When i run this with "mvn tomcat:run" and i open localhost:8080/app on my browser i receive the next error related with GWT:
Code:
javax.servlet.ServletException: Could not resolve view with name '/ApplicationScaffold.html' in servlet with name 'foo'
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1013)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:815)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:717)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
I have JDK 1.6.20, Roo 1.1.0M3
I hope you can help me, i think i am doing something wrong.
Regards,
Alejandro Ibarra
Build a roo script and post it
Quote:
Originally Posted by
crehbein
Naturally, 'app' has been GWT-compiled and recompiled again, but I still can't get the scaffolding html page to load. The app works fine when accessing individual services (eg: /customers) but the JSP-based views are displayed, not the GWT app.
Does anyone have any other suggestions? I don't see the point of Roo + GWT if it takes this much tinkering to get it to work.
One natural step is to help yourself and us to reproduce this problem. Build a Roo script, so that we can reproduce what you've done so far, by editing the log.roo file in the root of your project. Edit away duplicate commands and irrelevant details. Use that for building a new project, verify that it has the same problems and post the resulting script here. If you make any edits to source, post the changes only.
This approach give you a possibility to reevaluate what you've done so far as well as giving us a chance to help you more effectively.