我得到以下异常:
Build path is incomplete. Cannot find class file for com/hexgen/core/IHexGenDictionaryBased
这是我得到上述异常的行:
<context:component-scan base-package="com.hexgen.api.facade" />
这是完整的 XML 文件:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:sec="http://www.springframework.org/schema/security"
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.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
<sec:global-method-security pre-post-annotations="enabled"
secured-annotations="enabled"
authentication-manager-ref="authenticationManager"
proxy-target-class="true">
<sec:expression-handler ref="expressionHandler"/>
</sec:global-method-security>
<bean id="expressionHandler" class="org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler">
<property name="permissionEvaluator" ref="hexgenPermissionEvaluator" />
</bean>
<bean id="hexgenPermissionEvaluator" class="com.hexgen.api.facade.security.HexGenPermissionEvaluator"/>
<context:component-scan base-package="com.hexgen.api.facade" />
<mvc:annotation-driven />
<context:annotation-config />
</beans>
谁能解释我必须做些什么来解决这个问题?