cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco on eclipse

biswajit
Champ in-the-making
Champ in-the-making
Hi ,
I have read http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse and follow the instruction ' Import the Alfresco projects' .But after importing it give s many error i.e.
Description   Resource   Path   Location   Type
Invalid character constant   ADMLuceneTest.java   Repository/source/java/org/alfresco/repo/search/impl/lucene   line 480   Java Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'alfresco-jlan-embed.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'config.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/bcprov-jdk15-137.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/cglib-nodep-2.2_beta1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-beanutils-1.7.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-codec-1.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-collections-3.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-dbcp-1.2.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-digester-1.6.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-discovery-0.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-el.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-fileupload-1.1.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-httpclient-3.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-io-1.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-logging-1.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-pool-1.4.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/commons/commons-validator.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/axis-ant.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/comment-stripper.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/jsp.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/mysql-connector-java-5.1.7-bin.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/spring-mock-2.0.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/tlddoc.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/devenv/yguard.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/dom4j-1.6.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/ehcache-1.4.1-patched.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/fontbox-0.1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/freemarker-2.3.13.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/guessencoding-1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/hibernate-3.2.6-patched.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/hrtlib.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/htmlparser-1.6.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/ibatis-2.3.4.726-patched.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/icu4j_3_6_1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jakarta-oro-2.0.8.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jaxen-1.1-beta-8.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jaxrpc.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jbpm/bsh-1.3.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jbpm/jbpm-identity-3.2.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jbpm/jbpm-jpdl-3.2.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jbpm/springmodules-jbpm31.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jcr-1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jgroups/jgroups-2.6.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jibx/jibx-run.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jid3lib-0.5.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jmagick/JMagick.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/joda-time-1.2.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jooconverter-2.1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/json.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jstl-1.1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jta.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/jug-lgpl-2.0.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/junit.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/lucene-analyzers-2.4.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/lucene-core-2.4.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/lucene-snowball-2.4.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/mail.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/myfaces-api-1.1.5.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/myfaces-impl-1.1.5.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/odf_utils.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/odmg-3.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/jut.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/openoffice-juh-2.0.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/openoffice-jurt-2.0.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/openoffice-ridl-2.0.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/openoffice-sandbox-2.0.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/openoffice-unoil-2.0.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/openoffice/xstream-1.2.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/opensaml-1.0.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/optional/log4j-1.2.15.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/pdfbox-0.7.3.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/poi-3.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/portlet-api-lib.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/quartz-1.6.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/rhino-js-1.6R7.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/saaj.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/saxpath.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/spring-2.0.8.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/standard.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/subetha-smtp.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/tm-extractors-1.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/truezip.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/wsdl4j-1.6.2.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/wss4j.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/xalan-2.7.0/xalan.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/xercesImpl-2.8.0.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/xmlrpc.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/xmlsec-1.4.1.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoEmbedded' is missing required library: 'dependencies/xpp3-1.1.3_8.jar'   SDK AlfrescoEmbedded      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'alfresco-web-service-client.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/activation.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/axis-1.4.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/bcprov-jdk15-137.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/commons-discovery-0.2.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/commons-logging-1.1.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/jaxrpc.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/mail.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/opensaml-1.0.1.jar'   SDK AlfrescoRemote      Build path   Build Path Problem
Project 'SDK AlfrescoRemote' is missing required library: 'dependencies/saaj.jar'   SDK AlfrescoRemote      Build path   Build Path Problem

is there any way to add those jarsor how i add those jars.
Thanks,
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
If you right-click on SDK AlfrescoEmbedded and click Properties, then go to Java Build Path, Libraries, do you see a list of JARs? And, if so, do they look okay or do they have red X's or something on them?

I'm not sure what version of the SDK you're using, but in the early days of 3.2 Community, there was a problem with the SDK projects pointing to a bad location for the dependent JARs. You had to go to Libraries, and essentially re-add them.

If you've downloaded 3.2 Community within the last couple of weeks, I think the issue has been resolved. When you import those SDK projects, everything should build automatically with no problems.

Jeff

beren
Champ in-the-making
Champ in-the-making
In general I get a lot of the same kinds of eclipse errors. I'll post some more details, but it seems like maybe there needs to be a bit more details on how to get a dev environment setup in Eclipse.