cancel
Showing results for 
Search instead for 
Did you mean: 

About org.alfresco.*jar

terry
Champ in-the-making
Champ in-the-making
hi:
where I can find this:
org.alfresco.jndi.*;
org.alfresco.repo.avm.AVMRemote;
org.alfresco.service.cmr.avm.AVMNodeDescriptor;
org.w3c.dom.*;
5 REPLIES 5

thejavafreak
Champ in-the-making
Champ in-the-making
Hi,

Have you downloaded the SDK?

1. Extract the SDK zip file.
2. Open the src/ directory
3. And extract all the zip there

I hope this helps

terry
Champ in-the-making
Champ in-the-making
Hi,

Have you downloaded the SDK?

1. Extract the SDK zip file.
2. Open the src/ directory
3. And extract all the zip there

I hope this helps



But now I can't find org.alfresco.jndi.* anywhere.

the cmd throw:

Util.java:24: package org.alfresco.jndi  not exist
import org.alfresco.jndi.*;
^
Util.java:126: not find symbol
symbol: variable AVMFileDirContext
position: class org.alfresco.web.pr.Util
        final AVMRemote avm_remote = AVMFileDirContext.getAVMRemote();
                                     ^
Util.java:137: not find symbol
symbol: class AVMRemoteInputStream
position: class org.alfresco.web.pr.Util
                    new AVMRemoteInputStream(avm_remote.getInputHandle(-1, avmPath + '/' + entryName
),
                        ^
3 错误

thejavafreak
Champ in-the-making
Champ in-the-making
What did you do that made this problem arised?

terry
Champ in-the-making
Champ in-the-making
This is my question at FAQ :http://forums.alfresco.com/viewtopic.php?t=3877.
When I compiled Root/WEB-INF/classes/org/alfresco/web/pr/Util.java,the error is appear.

snelson
Champ in-the-making
Champ in-the-making
Hi,

You will need the alfresco-jndi-client.jar which is is the virtual-tomcat/common/lib directory. I think this is documented on the wiki.

Thanks,

Stephen
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.