[
https://issues.jboss.org/browse/JBDS-4133?page=com.atlassian.jira.plugin....
]
Xavier Coulon edited comment on JBDS-4133 at 11/3/16 5:57 AM:
--------------------------------------------------------------
ok, so the PR that Jeff proposed fails, but I'd like to ask first: why do we have
Lucene 5.4.1 rpms at first ? Can't we use the 5.2 version that is also available in
Eclipse Orbit ? Then I would be able to upgrade the Webservices plugins to depend on that
version of Lucene. If we have to use Lucene 5.4.1, can we consider adding the bundles in
our Locus repo ?
For the record, Lucene is used to index JAX-RS elements in memory, so there is no impact
if the lucene index format changed, since data is only available during the workbench
session. Lucene indexes are re-built during the a full/clean build of a project.
was (Author: xcoulon):
ok, so the PR that Jeff proposed fails, but I'd like to ask first: why do we have
Lucene 5.4.1 rpms at first ? Can't we use the 5.2 version that is also available in
Eclipse Orbit ? Then I would be able to upgrade the Webservices plugins to depend on that
version of Lucene.
For the record, Lucene is used to index JAX-RS elements in memory, so there is no impact
if the lucene index format changed, since data is only available during the workbench
session. Lucene indexes are re-built during the a full/clean build of a project.
org.jboss.tools.ws.jaxrs.core :: error occurred during JAX-RS
Metamodel build - java.lang.NoClassDefFoundError:
org/apache/lucene/analysis/standard/StandardAnalyzer
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBDS-4133
URL:
https://issues.jboss.org/browse/JBDS-4133
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: build, rpm, webservices
Affects Versions: 10.2.0.AM2
Reporter: Nick Boldt
Assignee: Jeff MAURY
Priority: Blocker
Fix For: 10.2.0.AM3
Attachments: lucene3.5corevs.5.4.1analyzers-common.png,
lucene3.5corevs.5.4.1queryparser.png
I'm getting this problem after running the HTML5 quickstart. I've installed this
[1] version of the rpm.
{code}
!ENTRY org.eclipse.core.jobs 4 2 2016-10-26 16:22:07.578
!MESSAGE An internal error occurred during: "JAX-RS Metamodel build...".
!STACK 0
java.lang.NoClassDefFoundError: org/apache/lucene/analysis/standard/StandardAnalyzer
at
org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsMetamodel.<init>(JaxrsMetamodel.java:163)
at
org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain.JaxrsMetamodel.create(JaxrsMetamodel.java:278)
at
org.jboss.tools.ws.jaxrs.core.metamodel.domain.JaxrsMetamodelLocator.get(JaxrsMetamodelLocator.java:120)
at
org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder.ResourceChangedBuildJob.run(ResourceChangedBuildJob.java:68)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.ClassNotFoundException:
org.apache.lucene.analysis.standard.StandardAnalyzer cannot be found by
org.jboss.tools.ws.jaxrs.core_1.9.2.v20161011-1002
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more
{code}
[1]
https://devstudio.jboss.com/10.0/snapshots/builds/devstudio.rpm_master/20...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)