views:

231

answers:

1

I'm using dwr and spring and I get this error:

java.lang.IllegalArgumentException: Javascript name * is used by 2 classes

I found nothing helpful on Google, do you know why I'm getting this error?

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"

       http://www.directwebremoting.org/schema/spring-dwr
       http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd"&gt;

<dwr:configuration />
<dwr:controller id="dwrController" debug="true" />

    <bean id="ping" class="com.mycompany.Ping">
        <dwr:remote javascript="rpcPing">
            <dwr:include method="ping" />
        </dwr:remote>
    </bean>
</beans>
+2  A: 

Found. Because the version of the DWR's jar did not match the version of DWR's schema

flybywire
+1 for answering your own question
sfossen