关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、3102411850 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 8659|回复: 1

[代码生成器] 在线等。项目启动问题

[复制链接]
发表于 2014-4-7 21:53:19 | 显示全部楼层 |阅读模式
1111.jpg

<context:component-scan base-package="org.jeecgframework.web.*">
                <context:exclude-filter type="annotation"
                        expression="org.springframework.stereotype.Service" />
        </context:component-scan>
       
       
        <context:component-scan base-package="com.white.business.*">
                <context:exclude-filter type="annotation"
                        expression="com.white.business.Service" />
        </context:component-scan>
       

这里我是按照jueyue的入门篇配置的。

-------------------------------------------------------------------------------

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Type filter class not found: com.white.business.Service; nested exception is java.lang.ClassNotFoundException: com.white.business.Service
Offending resource: file [F:\stutest\jeecg-framework\target\classes\spring-mvc.xml]; nested exception is java.lang.ClassNotFoundException: com.white.business.Service


我想问这个配置的

<context:component-scan base-package="com.white.business.*">
                <context:exclude-filter type="annotation"
                        expression="com.white.business.Service" />
        </context:component-scan>


还需要在哪里配置这个service要什么?


我就是能加载代码生成器的代码

生成以后直接使用?









发表于 2014-4-8 14:39:01 | 显示全部楼层
<context:exclude-filter type="annotation"
                        expression="org.springframework.stereotype.Service" />


org.springframework.stereotype.Service 这个是固定配置 是加载时排除spring的Service注解 不需要改成你自己的Service
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表