My problems became transitive dependency. I use beanlib-hibernate
which depend of spring:2.0.5 artefact. I use also spring:2.5.6 in my
application.

So, the 404 error was generated by this error:
NoSuchMethodError:
org.springframework.beans.factory.xml.ParserContext.registerBeanComponent

Because, spring-beans-2.5.6 was switch by spring-2.0.5 jar.

Issue to this error is the following exclusion in POM:
                 <dependency>
                        <groupId>net.sf.beanlib</groupId>
                        <artifactId>beanlib-hibernate</artifactId>
                        <version>5.0.2beta</version>
                    <exclusions>
                        <exclusion>
                                <groupId>org.springframework</groupId>
                                <artifactId>spring</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>

regards,
Philippe


On 9 nov, 12:16, ultrafil <[email protected]> wrote:
> Hi all,
>
> I upgrading my GWT 2.0.4 project to GWT 2.1.0. i use maven 2.2.1 with
> gwt-maven-plugin 2.1.0.
>
> I've 1 General Servlet and i use gwtrpc-spring for my rpcs.
>
> Now i've 404 on my rpc call and when i debug, i seeing that my general
> Servlet don't work.
>
> <?xml version="1.0"?>
> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>         
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
>         <display-name>myproject</display-name>
>
>         <welcome-file-list>
>                 <welcome-file>index.html</welcome-file>
>         </welcome-file-list>
>         <context-param>
>                 <param-name>contextConfigLocation</param-name>
>                 
> <param-value>classpath:myproject/server/webApplicationContext.xml</
> param-value>
>         </context-param>
>
>         <!--
>           Servlets
>         -->
>         <servlet>
>                 <servlet-name>dispatcher</servlet-name>
>                 
> <servlet-class>org.gwtrpcspring.RemoteServiceDispatcher</servlet-
> class>
>         </servlet>
>         <servlet-mapping>
>                 <servlet-name>dispatcher</servlet-name>
>                 <url-pattern>*.rpc</url-pattern>
>         </servlet-mapping>
>         <!--
>           Listener
>                    -->
>         <listener>
>                 <listener-
> class>org.springframework.web.context.ContextLoaderListener</listener-
> class>
>         </listener>
>         <!--
>           FILTRE
>                    -->
>         <filter>
>                 <filter-name>WebssoFilter</filter-name>
>                 <description>Filtre d'authentification websso</description>
>                 
> <filter-class>myproject.server.base.securite.AccessioWebssoFilter</
> filter-class>
>
>         </filter>
>         <filter-mapping>
>                 <filter-name>WebssoFilter</filter-name>
>                 <url-pattern>/*</url-pattern>
>         </filter-mapping>
>
>         <filter>
>                 <filter-name>OpenSessionInViewFilter</filter-name>
>                 <filter-class>
>                         
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</
> filter-class>
>                 <init-param>
>                         <param-name>sessionFactoryBeanName</param-name>
>                         <param-value>sessionFactory</param-value>
>                 </init-param>
>                 <init-param>
>                         <param-name>singleSession</param-name>
>                         <param-value>true</param-value>
>                 </init-param>
>         </filter>
>         <filter-mapping>
>                 <filter-name>OpenSessionInViewFilter</filter-name>
>                 <servlet-name>dispatcher</servlet-name>
>                 <dispatcher>REQUEST</dispatcher>
>         </filter-mapping>
>
>         <filter>
>                 <filter-name>SecurityFilter</filter-name>
>                 
> <filter-class>myproject.server.base.securite.SecurityFilter</filter-
> class>
>         </filter>
>         <filter-mapping>
>                 <filter-name>SecurityFilter</filter-name>
>                 <url-pattern>/*</url-pattern>
>         </filter-mapping>
> </web-app>
>
> May be an idea ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to