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
最满意答案
不幸的是,此阶段不支持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站点。 下面是一个使用客户端凭 ...
-
从Office 365连接到Azure SQL数据库/ SQL Server(Connect to a Azure SQL Database/SQL Server from Office 365)[2022-04-10]
据我所知,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 ...
-
适用于Office 365帐户的Google Identity Toolkit(Google Identity Toolkit for Office 365 accounts)[2023-08-26]
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
-
无法使用Azure试用帐户访问office365 Calendar API(Can't access office365 Calendar API using Azure trial account)[2022-03-21]
除非您拥有包含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 ... -
Office365 API身份验证 - Azure与应用程序注册门户(Office365 API Authentication - Azure vs Application Registration Portal)[2022-02-28]
对困惑感到抱歉。 简短的回答是这两种方法仍然相关,因此它们都没有被弃用。 首先,您需要注册您的应用程序才能调用Office 365 API。 而且,你也是正确的,目前有两个不同的地方注册一个应用程序: Azure 注册门户和Azure管理门户下的Active Directory部分 。 注册其中任何一个都足以让您进入一个舒适的状态,您可以在其中调用Office 365 API。 但是,Outlook.com堆栈与Exchange堆栈的融合意味着除了Office 365帐户之外,您现在还可以对消费者Outlo ...