cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Alfresco 4 in Eclipse - Path Errors

willwhite
Champ in-the-making
Champ in-the-making
Hello all.  Thank you for taking the time to read this post.

I have downloaded the alfresco-community-sdk-4.0.b.zip
I have extracted it to the c:\alfresco4sdk subdirectory
I have downloaded the newest version of Eclipse
I have created and opened a new workspace
I have imported the projects using File|Import|Existing Projects into Workspace.

Package Explorer now shows 15 items.
The first two have exclamation points (!) next to them, and the rest have red x's.  I show 17 errors in the "problems" tab.
The first two are "the project cannot be built until build path errors are resolved" for Alfresco Embedded and Alfresco Remote
The rest are "The project cannot be built because it depends on Alfresco Embedded or Alfresco Remote.

My JDK and JRE are version 1.7.  Do I need an older version?  I have tried this and it doesn't seem to help.

I am (obviously) a newbie, and any suggestions would be greatly appreciated.

-Will White
2 REPLIES 2

kriton
Champ in-the-making
Champ in-the-making
I had the same issue as I tried today to do the same.

This is how I solved it:

Right on the Alfresco Remote project -> properties -> build path. Go on the libraries tab and click on Add Jars. Select and add the jar under the root folder. Once this is done, expand it, click on source attachment and edit it. Select external file and the file you want is a zip with a name similar to the library name in the src folder of your SDK root folder.
Furthermore Select and add all the jars under under the dependancies folder.
Now go to the Order and Export tab and click on select all.

Do the same for the Alfresco Embedded project. The only difference is that there are more jars here.

vkamath
Champ in-the-making
Champ in-the-making
Thanks Kriton…it worked for me!!
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.