directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleks M (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
Date Fri, 07 Sep 2012 13:33:07 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450615#comment-13450615
] 

Aleks M commented on DIRSTUDIO-832:
-----------------------------------

Running mvn clean install on the checked out directory trunk gives me this error after about
10 minutes:


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.directory.server.replication.ClientServerReplicationIT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.916 sec
Running org.apache.directory.server.suites.StockServerISuite
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException:
No valid credentials provided (Mechanism level: Server not found in Kerberos dat
abase (7) - Server not found in Kerberos database)]
        at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5
Client.java:212)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindSasl(L
dapNetworkConnection.java:3677)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.access$200
(LdapNetworkConnection.java:176)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection$2.run(Ldap
NetworkConnection.java:1454)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(
LdapNetworkConnection.java:1450)
        at org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapN
etworkConnection.java:1352)
        at org.apache.directory.server.operations.bind.SaslBindIT.testSaslGssApi
Bind(SaslBindIT.java:512)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
Method.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
lable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
thod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
hod.java:20)
        at org.apache.directory.junit.tools.MultiThreadedMultiInvoker$1$1.run(Mu
ltiThreadedMultiInvoker.java:160)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
        at java.lang.Thread.run(Thread.java:722)
Caused by: GSSException: No valid credentials provided (Mechanism level: Server
not found in Kerberos database (7) - Server not found in Kerberos database)
        at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:71
0)
        at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:2
48)
        at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:1
79)
        at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5
Client.java:193)
        ... 20 more
Caused by: KrbException: Server not found in Kerberos database (7) - Server not
found in Kerberos database
        at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:73)
        at sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:192)
        at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:203)
        at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUt
il.java:311)
        at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(Creden
tialsUtil.java:115)
        at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:44
2)
        at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:64
1)
        ... 23 more
Caused by: KrbException: Identifier doesn't match expected value (906)
        at sun.security.krb5.internal.KDCRep.init(KDCRep.java:143)
        at sun.security.krb5.internal.TGSRep.init(TGSRep.java:66)
        at sun.security.krb5.internal.TGSRep.<init>(TGSRep.java:61)
        at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:55)
        ... 29 more

                
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-832
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
>             Project: Directory Studio
>          Issue Type: Question
>    Affects Versions: 2.0.0-M3
>         Environment: Windows 7 SP1 x64, Java 7 64-bit
>            Reporter: Aleks M
>            Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are
marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message