Hi i am having difficulty integrating spring with gwt. Below is my
code for my serviceImpl class...and where i think the error is

@Override
        public void init() throws ServletException {
        super.init();
        ServletContext sc = this.getServletContext();

        WebApplicationContext ctx =
WebApplicationContextUtils.getWebApplicationContext(sc); <--- this
returns a null pointer exception exception
        reportsFacade = (IReportsFacade) ctx.getBean("ReportsFacade");
    }


i have the following in my webapp web.xml file...

        <context-param>
                <param-name>contextConfigLocation</param-name>
                <param-value>
                        classpath:org/personalsite/config/applicationContext.xml
                </param-value>
        </context-param>

        <listener>
                <listener-class>
                        org.springframework.web.context.ContextLoaderListener
                </listener-class>
        </listener>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to