首页 \ 问答 \ Solr ClusteringComponent Carrot2:ClassNotFoundException(Solr ClusteringComponent Carrot2 : ClassNotFoundException)

Solr ClusteringComponent Carrot2:ClassNotFoundException(Solr ClusteringComponent Carrot2 : ClassNotFoundException)

当我尝试使用群集组件运行Solr时出现以下错误。

java.lang.NoClassDefFoundError: org/carrot2/core/ControllerFactory
    at org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.<init>(CarrotClusteringEngine.java:101)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)

我已经使用了包含apache-solr-clustering.3.2.0.jar

<lib dir="/usr/local/jetty/solr/lib/" regex="apache-solr-clustering-.*\.jar" />

但看起来我错过了一些carrot2 jar文件。 我找不到任何文件来说明我还缺少什么或者我做错了什么。

请帮忙


I get the following error when I try to run Solr with the Clustering Component.

java.lang.NoClassDefFoundError: org/carrot2/core/ControllerFactory
    at org.apache.solr.handler.clustering.carrot2.CarrotClusteringEngine.<init>(CarrotClusteringEngine.java:101)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)

I have included the apache-solr-clustering.3.2.0.jar using the

<lib dir="/usr/local/jetty/solr/lib/" regex="apache-solr-clustering-.*\.jar" />

But it looks like I am missing some carrot2 jar files. I cannot find any documentation to indicate what else I am missing or what I am doing wrong.

Please help


原文:https://stackoverflow.com/questions/6938354
更新时间:2022-05-06 08:05

最满意答案

不幸的是,此阶段不支持MS Access。 据我所知,它需要一个支持Azure AD身份验证的ODBC驱动程序。 此驱动程序将于2016年5月交付。但是,MA Assess团队必须将Access与Azure AD身份验证集成。 目前我没有执行此任务的ETA。 谢谢,米雷克


Unfortunately MS Access is not supported at this stage. As far as I know it requires an ODBC driver that supports Azure AD authentication. This driver will be delivered in May 2016. But then MA Assess team has to integrate Access with Azure AD auth. Currently I have no ETA for this task. Thanks, Mirek

相关问答

更多
  • Azure AD的OAuth2.0有两种基本身份验证流程。 第一个是授权代码授权流程 ,用于访问Azure Active Directory(Azure AD)中的本机客户端和网站的Web API。 在此流程中,用户委派对客户端应用程序的访问权限。 第二个是Client Credentials Grant Flow ,它允许Web服务(机密客户端)在调用另一个Web服务时使用自己的凭据进行身份验证,而不是模拟用户。 在此方案中,客户端通常是中间层Web服务,守护程序服务或Web站点。 下面是一个使用客户端凭 ...
  • 据我所知,O365订阅中既不包含SQL Server也不包含Azure SQL数据库。 但有几个选择: Azure SQL数据库:要获得200美元的免费积分来评估Azure SQL数据库,请单击“开始使用”。 获得Azure帐户后,您可以创建第一个Azure SQL数据库 ,然后从Excel连接和查询 。 SQL Server Express : SQL Server的免费版本,可以在笔记本电脑,服务器或Azure VM中安装。 MSDN:如果您有MSDN订阅,则免费提供SQL Server Develop ...
  • 即使你想要使用的只是目录功能,我也鼓励你强烈使用Microsoft Graph。 我们正在向Microsoft Graph添加可能未显示在AAD Graph中的新目录功能,我们正在努力确保Microsoft Graph提供AAD Graph提供的所有目录功能(以及更多)。 您不必使用O365订阅即可使用Microsoft Graph(只是AAD租户) - 只是Microsoft Graph公开了许多来自Office 365的丰富数据,包括计算出的见解。 如果您对此有任何挑战,请告诉我。 希望这可以帮助, E ...
  • Google Identity Toolkit服务器会生成重定向网址。 目前,Live ID登录是Microsoft支持的唯一端点。 目前不支持Office 365商家登录。 Google Identity Toolkit server generates the redirection url. Currently Live ID Sign In is the only endpoint supported for Microsoft. Office 365 Business Sign In is not ...
  • 用户可以通过订阅上的服务管理员或共同管理员访问经典门户。 这个用户似乎不是现在。 新的Portal基于角色访问控制。 Azure Active Directory中的任何人都可以登录到新的Portal。 他们可以做什么取决于他们在订阅/资源组/资源上的角色。 如果管理员在任何订阅,任何资源组或任何资源中都没有角色,他们就无法在该订阅中查看或执行任何操作。 即使他们是Global Admin上的目录,也不会授予他们对订阅的任何访问权限。 Users get access to the Classic Port ...
  • 您需要将Web应用程序标记为多租户,否则Azure AD会将所有呼叫者限制为来自您配置应用程序的租户。 请查看https://github.com/AzureADSamples/WebApp-WebAPI-MultiTenant-OpenIdConnect-DotNet ,以获取多租户的Web应用程序示例并调用Microsoft API。 请注意,您不一定需要验证示例中显示的问题,只需对您的场景执行有意义的操作(这可能意味着甚至无法验证)。 You need to mark your web applica ...
  • 不幸的是,此阶段不支持MS Access。 据我所知,它需要一个支持Azure AD身份验证的ODBC驱动程序。 此驱动程序将于2016年5月交付。但是,MA Assess团队必须将Access与Azure AD身份验证集成。 目前我没有执行此任务的ETA。 谢谢,米雷克 Unfortunately MS Access is not supported at this stage. As far as I know it requires an ODBC driver that supports Azure ...
  • 您想要的是多租户应用程序,它是您管理应用程序的页面中的选项之一。 这里有一个完整的样本 What you want is called a Multi Tenant application, it is one of the options in the page where you manage your application. There is a whole sample here
  • 除非您拥有包含Exchange的Office 365订阅,否则您不会在Azure帐户中看到Exchange。 听起来你在https://manage.windowsazure.com注册? 您可能想尝试在https://apps.dev.microsoft.com中注册您的应用并使用v2 Azure身份验证流程。 最大好处是您只需使用Microsoft帐户(如outlook.com等)注册应用程序。请参阅https://dev.outlook.com/RestGettingStarted了解演练。 You ...
  • 对困惑感到抱歉。 简短的回答是这两种方法仍然相关,因此它们都没有被弃用。 首先,您需要注册您的应用程序才能调用Office 365 API。 而且,你也是正确的,目前有两个不同的地方注册一个应用程序: Azure 注册门户和Azure管理门户下的Active Directory部分 。 注册其中任何一个都足以让您进入一个舒适的状态,您可以在其中调用Office 365 API。 但是,Outlook.com堆栈与Exchange堆栈的融合意味着除了Office 365帐户之外,您现在还可以对消费者Outlo ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)