在线等。项目启动问题
<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 ; 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要什么?
我就是能加载代码生成器的代码
生成以后直接使用?
<context:exclude-filter type="annotation"
expression="org.springframework.stereotype.Service" />
org.springframework.stereotype.Service 这个是固定配置 是加载时排除spring的Service注解 不需要改成你自己的Service
页:
[1]