Hi,
I have a problem in building the carbon core.
I'm getting a compilation error in the WSO2 Carbon - Directory Server.
The below given is the error I'm getting;
INFO] WSO2 Carbon - Addressing .......................... SUCCESS [0.119s]
[INFO] WSO2 Carbon - Directory Server .................... FAILURE [0.959s]
[INFO] WSO2 Carbon - Feature Manager Web Services ........ SKIPPED
[INFO] WSO2 Carbon - Feature Manager UI .................. SKIPPED
[INFO] WSO2 Carbon - Server-Roles Manager UI ............. SKIPPED
[INFO] WSO2 Carbon - Features ............................ SKIPPED
[INFO] WSO2 Carbon - Carbon Common Feature ............... SKIPPED
[INFO] WSO2 Carbon - Carbon Server Feature ............... SKIPPED
[INFO] WSO2 Carbon - Carbon UI Feature ................... SKIPPED
[INFO] WSO2 Carbon - Carbon Runtime Feature .............. SKIPPED
[INFO] WSO2 Carbon - Carbon Feature ...................... SKIPPED
[INFO] WSO2 Carbon - Carbon P2 Profile ................... SKIPPED
[INFO] WSO2 Carbon Core - Distribution ................... SKIPPED
[INFO] WSO2 Carbon - Integration Tests ................... SKIPPED
[INFO] WSO2 Carbon - Security Verification Service ....... SKIPPED
[INFO] WSO2 Carbon - Integration Core .................... SKIPPED
[INFO] ------------------------------
------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6:17.497s
[INFO] Finished at: Thu Dec 08 15:10:02 IST 2011
[INFO] Final Memory: 290M/694M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
(default-compile) on project org.wso2.carbon.ldap.server: Compilation
failure: Compilation failure:
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[20,44]
package org.apache.directory.server.constants does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[29,27]
package org.apache.mina.util does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[30,39]
package org.apache.directory.server.xdbm does not exist
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[119,56]
cannot access org.apache.directory.server.core.entry.ServerEntryFactory
[ERROR] class file for
org.apache.directory.server.core.entry.ServerEntryFactory not found
[ERROR] if (directoryService != null && directoryService.isStarted()) {
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/CarbonDirectoryServiceFactory.java:[198,26]
cannot find symbol
[ERROR] symbol : variable ServerDNConstants
[ERROR] location: class
org.wso2.carbon.apacheds.impl.CarbonDirectoryServiceFactory
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheLDAPServer.java:[124,27]
cannot access
org.apache.directory.server.protocol.shared.DirectoryBackedService
[ERROR] class file for
org.apache.directory.server.protocol.shared.DirectoryBackedService not found
[ERROR] this.ldapServer.start();
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheLDAPServer.java:[375,23]
cannot find symbol
[ERROR] symbol : method
setTransports(org.apache.directory.server.protocol.shared.transport.TcpTransport)
[ERROR] location: class org.apache.directory.server.ldap.LdapServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[90,22]
cannot find symbol
[ERROR] symbol : method setServiceName(java.lang.String)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[95,22]
cannot find symbol
[ERROR] symbol : method setSearchBaseDn(java.lang.String)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[108,22]
cannot find symbol
[ERROR] symbol : method
setDirectoryService(org.apache.directory.server.core.DirectoryService)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[293,29]
cannot find symbol
[ERROR] symbol : method isStarted()
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[314,26]
cannot find symbol
[ERROR] symbol : method
addTransports(org.apache.directory.server.protocol.shared.transport.UdpTransport)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[324,26]
cannot find symbol
[ERROR] symbol : method
addTransports(org.apache.directory.server.protocol.shared.transport.Transport)
[ERROR] location: class org.apache.directory.server.kerberos.kdc.KdcServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheKDCServer.java:[333,19]
cannot find symbol
[ERROR] symbol : variable AvailablePortFinder
[ERROR] location: class org.wso2.carbon.apacheds.impl.ApacheKDCServer
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[83,33]
cannot access org.apache.directory.server.xdbm.AbstractXdbmPartition
[ERROR] class file for
org.apache.directory.server.xdbm.AbstractXdbmPartition not found
[ERROR] this.directoryService.addPartition(partition);
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[87,46]
cannot find symbol
[ERROR] symbol : method getSuffixDn()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[94,49]
cannot find symbol
[ERROR] symbol : method getSuffix()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[97,50]
cannot find symbol
[ERROR] symbol : method getSuffix()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[99,84]
cannot find symbol
[ERROR] symbol : method getSuffix()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[102,89]
cannot find symbol
[ERROR] symbol : method getSuffix()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[106,42]
cannot find symbol
[ERROR] symbol : method getSuffix()
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[311,59]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[341,58]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[375,47]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[416,21]
cannot find symbol
[ERROR] symbol : method setId(java.lang.String)
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[417,21]
cannot find symbol
[ERROR] symbol : method setSuffix(java.lang.String)
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[418,21]
cannot find symbol
[ERROR] symbol : method setPartitionDir(java.io.File)
[ERROR] location: class
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[420,16]
cannot find symbol
[ERROR] symbol : class Index
[ERROR] location: class
org.wso2.carbon.apacheds.impl.ApacheDirectoryPartitionManager
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[421,32]
cannot find symbol
[ERROR] symbol : class Index
[ERROR] location: class
org.wso2.carbon.apacheds.impl.ApacheDirectoryPartitionManager
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[465,56]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[572,62]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
[ERROR]
[ERROR]
/home/sinthuja/Build/carbon/core/org.wso2.carbon.ldap.server/src/main/java/org/wso2/carbon/apacheds/impl/ApacheDirectoryPartitionManager.java:[604,53]
newEntry(java.lang.String,java.lang.String) in
org.apache.directory.server.core.DirectoryService cannot be applied to
(org.apache.directory.shared.ldap.name.DN)
Thanks,
Sinthuja
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev