我在我的项目中使用'Activiti'.几天前,我将IDE从Eclipse更改为IntelliJ IDEA.'Activiti'有一个非常有用且友好的Eclipse插件,名为'Activiti Designer'.但是我发现使用'Activiti'时Intellij的插件'actiBPM'非常难以使用,而且根本不友好.那么,在使用'Activiti'时,有没有更好的插件可以用于IntelliJ?谢谢.
当我遇到此异常时,我正在使用 spring-ldap:
????????[LDAP: error code 32 - No Such Object];
nested exception is javax.naming.NameNotFoundException:
[LDAP: error code 32 - No Such Object]; remaining name 'uid=lyh,ou=Users,dc=xinsight,dc=com'
Run Code Online (Sandbox Code Playgroud)
1.我的配置
<bean id="ldapTemplate" class="org.springframework.ldap.core.LdapTemplate">
<constructor-arg ref="contextSource"/>
</bean>
<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
<property name="url" value="ldap://168.2.8.77:389" />
<property name="base" value="dc=xinsight,dc=com" />
<property name="userDn" value="cn=Manager,dc=xinsight,dc=com" />
<property name="password" value="psw" />
<!--<property name="referral" value="follow"/>-->
</bean>
Run Code Online (Sandbox Code Playgroud)
2.我的代码
public void create() {
User user = new User();
user.setFdUsername("lyhtest");
user.setFdTenantName("root");
user.setFdLdapPassword("ldappsw");
user.setFdUserid(Long.valueOf(10));
Name dn = buildDn(user);
ldapTemplate.bind(dn, null, buildAttributes(user));
}
/**
* ????DN …Run Code Online (Sandbox Code Playgroud)