Invalid content was found starting with element 'span'. No child element is expected at this point

0

Hi all,

      I'm configuring jasper report server with exsisting active derectory ldap.When I'm running jasper server there is a error in log related to userSearch bean.

Error :cvc-complex-type.2.4.d: Invalid content was found starting with element 'span'. No child element is expected at this point.

 

My configurations are here and logs said that I have error with third part of it:

<bean id="ldapAuthenticationProvider"
      class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
  <constructor-arg>
    <bean
      class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
      <constructor-arg><ref local="ldapContextSource"/></constructor-arg>
      <property name="userDnPatterns">
        <list>
          <value>uid={0},ou=users</value>
        </list>
      </property>
    </bean>
  </constructor-arg>

</bean>
<bean id="ldapContextSource"
      class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
  <constructor-arg value="ldap://hostname:389/dc=ADexample,dc=com"/>
</bean>
<bean id="userSearch"
      class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch">
<u><em>  <strong><constructor-arg index="0"><value><span class="_Override" >cn=Users</span></value></constructor-arg>
  <constructor-arg index="1"><value><span class="_Override" >(sAMAccountName={0})</span></value></constructor-arg></strong></em></u>
  <constructor-arg index="2"><ref local="ldapContextSource"/></constructor-arg>
  <property name="searchSubtree"><value>true</value></property>
</bean>

Do u know how to fix it?

wszystkielogizajete's picture
Joined: Aug 10 2017 - 3:26am
Last seen: 1 year 1 month ago

1 Answer:

0

Yeah, all this <u><em><strong> and <span class="Override"> stuff  shouldn't be in there.  It may have shown up in the online documentation at some point, unfortunately -- we sometimes have trouble when things are posted from our doc authoring system to the website.  These tags do not appear in this version, so I'm not sure where you got it:

https://community.jaspersoft.com/documentation/tibco-jasperreports-serve...

In addition, if you see problems with tags like this, I recommend cross-checking the HTML page with the PDF document -- if it's a tagging error in the documentation like this, it won't show up in the PDF.

elizam's picture
4158
Joined: Mar 5 2012 - 9:19am
Last seen: 1 week 4 days ago
Feedback