当前位置: 代码迷 >> Java Web开发 >> dwr远程调用有关问题
  详细解决方案

dwr远程调用有关问题

热度:13   发布时间:2016-04-17 14:49:58.0
dwr远程调用问题
dwr配置文件:
在eclipse里第二行报错   jdk1.4.2.70   +   tomcat   5.0
是否环境配置不对?
<?xml   version= "1.0 "   encoding= "UTF-8 "?>
<!DOCTYPE   dwr   PUBLIC   "-//GetAhead   Limited//DTD   Direct   Web   Remoting   1.0//EN "   "http://www.getahead.ltd.uk/dwr/dwr10.dtd ">
<dwr>
    <allow>
        <create   creator= "new "   javascript= "GetFormMaxIDActionMethod ">
        <param   name= "class "   value= "com.eport.wrms.remoter.GetFormMaxIDAction "/>
        </create>
        <create   creator= "new "   javascript= "GetDataForOpenWinMethod ">
        <param   name= "class "   value= "com.eport.wrms.remoter.GetDataForOpenWinAction "/>
        </create>
    </allow>
</dwr>




------解决方案--------------------
错误信息:
2007-04-09 12:16:40,515 INFO [uk.ltd.getahead.dwr.impl.DefaultConfiguration] - Missing class for creator 'spring '. Failed to load uk.ltd.getahead.dwr.create.SpringCreator. Cause: org/springframework/beans/factory/BeanFactory
2007-04-09 12:16:40,546 INFO [uk.ltd.getahead.dwr.impl.DefaultConfiguration] - Missing class for converter 'jdom '. Failed to load uk.ltd.getahead.dwr.convert.JDOMConverter. Cause: org/jdom/Document
2007-04-09 12:16:40,609 INFO [uk.ltd.getahead.dwr.impl.DefaultConverterManager] - Can 't marshall org.jdom.Document because converter 'jdom ' is not available. The converter definition may be missing, or required element may be missing from the CLASSPATH
2007-04-09 12:16:40,624 INFO [uk.ltd.getahead.dwr.impl.DefaultConverterManager] - Can 't marshall org.jdom.Element because converter 'jdom ' is not available. The converter definition may be missing, or required element may be missing from the CLASSPATH
2007-04-09 12:16:41,030 WARN [uk.ltd.getahead.dwr.impl.ExecuteQuery] - Method execution failed:
java.lang.IllegalArgumentException: Missing method or missing parameter converters: GetDataForOpenWinMethod.execute
at uk.ltd.getahead.dwr.impl.ExecuteQuery.execute(ExecuteQuery.java:305)
at uk.ltd.getahead.dwr.impl.DefaultProcessor.doExec(DefaultProcessor.java:539)
at uk.ltd.getahead.dwr.impl.DefaultProcessor.handle(DefaultProcessor.java:87)
at uk.ltd.getahead.dwr.DWRServlet.doPost(DWRServlet.java:174)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.eport.filter.NoCacheFilter.doFilter(NoCacheFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.eport.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  相关解决方案