Giter Club home page Giter Club logo

luke's Issues

NoClassDefFoundError for FilterAtomicReader$FilterTerms

Downloaded "lukeall-5.3.0.jar" from "https://java.net/projects/opengrok/downloads." Ran the following command "java -cp lukeall-5.3.0.jar org.getopt.luke.Luke." When prompted I attempted to open an ElasticSearch index and received the following:

java.lang.NoClassDefFoundError: org/apache/lucene/index/FilterAtomicReader$Filte
rTerms
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.elasticsearch.index.codec.postingsformat.BloomFilterPostingsForma
t.fieldsProducer(BloomFilterPostingsFormat.java:99)
.
.
.

It appears that the class "FilterAtomicReader" has been removed from "lucene-core-5.3.0.jar." To get it run, I copied over the classes "FilterAtomicReader" and "AtomicReader" from "lucene-core-4.10.4.jar" into "lucene-core-5.3.0.jar."

Build issue

[javac] Compiling 53 source files to /Users/henrysetiawan/Downloads/lukegit-master/build
[javac] /Users/henrysetiawan/Downloads/lukegit-master/src/org/getopt/luke/KeepLastIndexDeletionPolicy.java:16: unreported exception java.io.IOException; must be caught or declared to be thrown
[javac] onCommit(commits);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

build fails

running ant on 8b8027c I get:

Buildfile: /workspaces/luke/build.xml

clean:

-check-lucene:

download-lucene:

BUILD FAILED
/workspaces/luke/build.xml:98: Directory does not exist: /workspaces/luke/lib/solr

Total time: 0 seconds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.