Active directory Jasper server Active Directory配置错误:发现以元素“value”开头的无效内容
我正在将JasperServer5.6.1认证为microsoft active directy引用。 [ 但是当我编译并运行服务器时,出现了一个日志错误 cvc复杂类型.2.4.a:发现以元素“value”开头的内容无效。应为“{:meta”之一 span class=forced中的errooccered userSearch beanActive directory Jasper server Active Directory配置错误:发现以元素“value”开头的无效内容,active-directory,jasperserver,spring-ldap,spring-security-ldap,Active Directory,Jasperserver,Spring Ldap,Spring Security Ldap,我正在将JasperServer5.6.1认证为microsoft active directy引用。 [ 但是当我编译并运行服务器时,出现了一个日志错误 cvc复杂类型.2.4.a:发现以元素“value”开头的内容无效。应为“{:meta”之一 span class=forced中的errooccered userSearch bean <bean id="userSearch" class="org.springframework.security.ldap.search
<bean id="userSearch"
class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch">
<constructor-arg index="0"><value><span class="Forceful">cn=Users</span></value></constructor-arg>
<constructor-arg index="1"><value><span class="Forceful">(sAMAccountName={0})</span></value></constructor-arg>
<constructor-arg index="2"><ref local="ldapContextSource"/></constructor-arg>
<property name="searchSubtree"><value>true</value></property>
</bean>
如何修复此错误
致以最良好的祝愿,
Chinthaka您需要从两个构造函数arg中删除该类 它们应该是这样的
<constructor-arg index="0"><value>cn=Users</value></constructor-arg>
<constructor-arg index="1"><value>(sAMAccountName={0})</value></constructor-arg>
希望这有帮助。我试过了,但在新的jasper服务器版本5.6.1上无法使用。