Hi, Tried above suggested by using following steps:- 1) Downloaded src and lib and bin distribution of manifoldcf 2.14 version.
[image: image.png] 2) Extracted and open CMD and run "ant make-deps command" and got below error while running. [image: image.png] Error:- compile-less-compiler: [mkdir] Created dir: D:\Official\Projects\ManifoldCF\apache-manifoldcf-2.14\framework\build\less-compiler\classes [javac] Compiling 1 source file to D:\Official\Projects\ManifoldCF\apache-manifoldcf-2.14\framework\build\less-compiler\classes [javac] D:\Official\Projects\ManifoldCF\apache-manifoldcf-2.14\framework\less-compiler\src\main\java\org\apache\manifoldcf\less\MCFLessCompiler.java:22: error: package com.github.sommeri.less4j does not exist [javac] import com.github.sommeri.less4j.Less4jException; [javac] ^ [javac] D:\Official\Projects\ManifoldCF\apache-manifoldcf-2.14\framework\less-compiler\src\main\java\org\apache\manifoldcf\less\MCFLessCompiler.java:23: error: package com.github.sommeri.less4j does not exist [javac] import com.github.sommeri.less4j.LessCompiler; [javac] ^ Can you please let me know, how can I resolve this error. Thanks and Regards Priya On Fri, Nov 8, 2019 at 5:38 PM Karl Wright <daddy...@gmail.com> wrote: > (1) Download source distribution and lib distribution > (2) Unpack and follow directions for placing lib folder in place > (3) Run 'ant make-deps' to download the correct version of jcifs > (4) Run "ant build" to make a distribution that includes proprietary > examples > (5) Use the proprietary example you need > > The reason this might be a good idea is because we no longer use the older > versions of jcifs, but a newer one with some fixes instead. > > Karl > > > On Fri, Nov 8, 2019 at 7:04 AM Priya Arora <pr...@smartshore.nl> wrote: > >> This didn't work even. Is that(manifoldcf version 2.14) something to do >> with java version also. If yes , I am using JAVA_HOME :_ java version 8. >> Can you suggest something >> >> On Fri, Nov 8, 2019 at 4:16 PM Sreejith Variyath < >> sreejith.variy...@tarams.com> wrote: >> >>> place the jcifs.jar into the *connector-lib-proprietary* directory >>> >>> On Fri, Nov 8, 2019 at 2:38 PM Priya Arora <pr...@smartshore.nl> wrote: >>> >>>> Hi All >>>> >>>> I installed the 2.14 version of manifoldcf , then uncommented the line >>>> in connectors.xml file "<repositoryconnector name =" Windows shares "class >>>> =" org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector >>>> "/>" , but when I try to start with(java- jar start.jar) gives error: >>>> >>>> I also checked it mcf-jcifs-connector.jar is also present in >>>> connector-lib. >>>> >>>> Do i need to do something else also.Here is the error log. >>>> >>>> Successfully registered repository connector >>>> 'org.apache.manifoldcf.crawler.connectors.jdbc.JDBCConnector' >>>> Exception in thread "main" java.lang.NoClassDefFoundError: >>>> jcifs/smb/SmbException >>>> at java.base/java.lang.Class.forName0(Native Method) >>>> at java.base/java.lang.Class.forName(Unknown Source) >>>> at >>>> org.apache.manifoldcf.core.system.ManifoldCFResourceLoader.findClass(ManifoldCFResourceLoader.java:149) >>>> at >>>> org.apache.manifoldcf.core.system.ManifoldCF.findClass(ManifoldCF.java:1533) >>>> at >>>> org.apache.manifoldcf.core.interfaces.ConnectorFactory.getThisConnectorRaw(ConnectorFactory.java:144) >>>> at >>>> org.apache.manifoldcf.core.interfaces.ConnectorFactory.getThisConnectorNoCheck(ConnectorFactory.java:118) >>>> at >>>> org.apache.manifoldcf.core.interfaces.ConnectorFactory.installThis(ConnectorFactory.java:48) >>>> at >>>> org.apache.manifoldcf.crawler.interfaces.RepositoryConnectorFactory.install(RepositoryConnectorFactory.java:100) >>>> at >>>> org.apache.manifoldcf.crawler.connmgr.ConnectorManager.registerConnector(ConnectorManager.java:180) >>>> at >>>> org.apache.manifoldcf.crawler.system.ManifoldCF.registerConnectors(ManifoldCF.java:672) >>>> at >>>> org.apache.manifoldcf.crawler.system.ManifoldCF.reregisterAllConnectors(ManifoldCF.java:160) >>>> at >>>> org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(ManifoldCFJettyRunner.java:239) >>>> Caused by: java.lang.ClassNotFoundException: jcifs.smb.SmbException >>>> at java.base/java.net.URLClassLoader.findClass(Unknown Source) >>>> at java.base/java.lang.ClassLoader.loadClass(Unknown Source) >>>> at java.base/java.net.FactoryURLClassLoader.loadClass(Unknown >>>> Source) >>>> at java.base/java.lang.ClassLoader.loadClass(Unknown Source) >>>> ... 12 more >>>> >>>> Thanks and regards >>>> Priya >>>> >>> >>> >>> -- >>> Best Regards, >>> >>> >>> *Sreejith Variyath* >>> Lead Software Engineer >>> Tarams Software Technologies Pvt. Ltd. >>> Venus Buildings, 2nd Floor 1/2,3rd Main, >>> Kalyanamantapa Road Jakasandra, 1st Block Kormangala >>> Bangalore - 560034 >>> Tarams <http://www.tarams.com/> >>> >>> >>> www.tarams.com >>> ============================= >>> DISCLAIMER: The information in this message is confidential and may be >>> legally privileged. It is intended solely for the addressee. Access to this >>> message by anyone else is unauthorized. If you are not the intended >>> recipient, any disclosure, copying, or distribution of the message, or any >>> action or omission taken by you in reliance on it, is prohibited and may be >>> unlawful. Please immediately contact the sender if you have received this >>> message in error. Further, this e-mail may contain viruses and all >>> reasonable precaution to minimize the risk arising there from is taken by >>> Tarams. Tarams is not liable for any damage sustained by you as a result of >>> any virus in this e-mail. All applicable virus checks should be carried out >>> by you before opening this e-mail or any attachment thereto. >>> Thank you - Tarams Software Technologies Pvt.Ltd. >>> ============================= >>> >>