[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-380) Duplicate classes from Maven transitive dependencies (incompatible version of solr-lucene-core)

Sanne Grinovero (JIRA) noreply at atlassian.com
Sun Jun 14 12:23:34 EDT 2009


Duplicate classes from Maven transitive dependencies (incompatible version of solr-lucene-core)
-----------------------------------------------------------------------------------------------

                 Key: HSEARCH-380
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-380
             Project: Hibernate Search
          Issue Type: Bug
    Affects Versions: 3.1.0.GA, 3.1.1
            Reporter: Sanne Grinovero
            Assignee: Sanne Grinovero
            Priority: Critical
             Fix For: 3.1.2, 3.2.0


solr-core is depending on solr-lucene-core, which contains an outdated (?) version of Lucene.
An effect of this problem is gettin errors like

Caused by: java.lang.NoSuchFieldError: ANALYZED
at org.hibernate.search.engine.DocumentBuilderContainedEntity.getIndex(DocumentBuilderContainedEntity.java:538) 

As such a field is contained in the Lucene version of org.apache.lucene.document.Field.INDEX
but not in the (same package name!) version of solr-lucene-core.

Because of classloaders normally working in alphabetical order this works "most of the time", but deployments having unusual
library positions are failing with an hard to debug error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list