开发者社区> 问答> 正文

spring注解整合dwr的一个小问题?报错

这是文件头

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
       http://www.directwebremoting.org/schema/spring-dwr http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd
       http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd">



然而在此servlet-context.xml的配置文件里

<dwr:annotation-scan base-package="cn.com.blossomframework.services" scanDataTransferObject="true" scanRemoteProxy="true"/>

这一行配置报错,原因是找不到,我看官方例子也是这么写的我看网上有的例子有

xmlns:dwra="http://www.directwebremoting.org/schema/spring-dwr-annotations"

http://www.directwebremoting.org/schema/spring-dwr-annotations    
http://www.directwebremoting.org/schema/spring-dwr-annotations.xsd

这几行在文件头里,但是官网貌似已经不提供这种方式了,有人碰到过这种情况吗?

展开
收起
爱吃鱼的程序员 2020-06-22 13:59:44 387 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    用jquery吧<atarget='_blank'>@13123123用的3.0RC2,他们还在修改那个里程碑版本,我这个是一个springmybatis的分页,但是现在加了查询条件,所以想把dwr给整进来,现在暂时没问题了,用的3.0注解,不过还有个小错误,Noconverterfoundfor'org.apache.ibatis.executor.loader.CglibProxyFactory$EnhancedResultObjectProxy...<atarget='_blank'>@惉惉自喜dwr3.0spring配置版本dwr2版本都玩过还有漏洞所以劝你不要用dwr实在蛋疼<atarget='_blank'>@13123123有干货么?好吧,我不觉得自己问的问题有多低端!回复<aclass='referer'target='_blank'>@惉惉自喜:我终于知道为什么没人回答你这个帖子了。。jquery效率比dwr快不知道多少倍。。<atarget='_blank'>@13123123那可不一定哦,在extjs中还是dwr牛逼吧,并且特定场景下dwr还是比jquery方便些的,我想知道的倒是dwr的性能和jq谁好一些!提问,我这里一直找不到interface下面的类,,求破。。。另外两个类可以

    2020-06-22 14:00:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载

相关实验场景

更多