lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin.Mad...@VerizonWireless.com
Subject make failing with class not found exception
Date Fri, 12 Jun 2009 22:05:05 GMT
thanks again to Andi Vajda and Christian Heimes, more progress, but make is failing with class
not found error. I see the class with a find command.

.....
jar:
    [mkdir] Created dir: c:\Edwin\Download\python\pylucene-2.4.1-2\build\jar
      [jar] Building jar: c:\Edwin\Download\python\pylucene-2.4.1-2\build\jar\extensions.jar

BUILD SUCCESSFUL
Total time: 1 second
/usr/bin/python -m jcc --shared --jar lucene-java-2.4.1/build/lucene-core-2.4.1.jar --jar
lucene-java-2.4.1/build/contrib/snowball/lucene-snowball-2.4.1.jar --jar lucene-java-2.4.1/build/contrib/highlighter/lucene-highlighter-2.4.1.jar
--jar lucene-java-2.4.1/build/contrib/analyzers/lucene-analyzers-2.4.1.jar --jar lucene-java-2.4.1/build/contrib/regex/lucene-regex-2.4.1.jar
--jar lucene-java-2.4.1/build/contrib/queries/lucene-queries-2.4.1.jar --jar lucene-java-2.4.1/build/contrib/instantiated/lucene-instantiated-2.4.1.jar
--jar build/jar/extensions.jar --package java.lang java.lang.System java.lang.Runtime --package
java.util java.util.Arrays java.text.SimpleDateFormat --package java.io java.io.StringReader
java.io.InputStreamReader java.io.FileInputStream --exclude org.apache.lucene.queryParser.Token
--exclude org.apache.lucene.queryParser.TokenMgrError --exclude org.apache.lucene.queryParser.QueryParserTokenManager
--exclude org.apache.lucene.queryParser.ParseException --python lucene --mapping org.apache.lucene.document.Document
'get:(Ljava/lang/String;)Ljava/lang/String;' --mapping java.util.Properties 'getProperty:(Ljava/lang/String;)Ljava/lang/String;'
--sequence org.apache.lucene.search.Hits 'length:()I' 'doc:(I)Lorg/apache/lucene/document/Document;'
--rename org.apache.lucene.search.highlight.SpanScorer=HighlighterSpanScorer --version 2.4.1
--module python/collections.py --files 2 --build 
Traceback (most recent call last):
  File "/usr/lib/python2.5/runpy.py", line 95, in run_module
    filename, loader, alter_sys)
  File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.5/site-packages/JCC-2.3-py2.5-cygwin-1.5.25-i686.egg/jcc/__init__.py",
line 27, in <module>
    import jcc.__main__
  File "/usr/lib/python2.5/site-packages/JCC-2.3-py2.5-cygwin-1.5.25-i686.egg/jcc/__main__.py",
line 82, in <module>
    cpp.jcc(sys.argv)
  File "/usr/lib/python2.5/site-packages/JCC-2.3-py2.5-cygwin-1.5.25-i686.egg/jcc/cpp.py",
line 370, in jcc
    for className in excludes])
jcc.cpp.JavaError: java.lang.NoClassDefFoundError: org/apache/lucene/queryParser/Token
make: *** [compile] Error 255


$ find . -name "Token.*"
./lucene-java-2.4.1/build/classes/java/org/apache/lucene/analysis/Token.class
./lucene-java-2.4.1/build/classes/java/org/apache/lucene/queryParser/Token.class
./lucene-java-2.4.1/contrib/miscellaneous/src/java/org/apache/lucene/queryParser/precedence/Token.java
./lucene-java-2.4.1/contrib/surround/src/java/org/apache/lucene/queryParser/surround/parser/Token.java
./lucene-java-2.4.1/src/demo/org/apache/lucene/demo/html/Token.java
./lucene-java-2.4.1/src/java/org/apache/lucene/analysis/Token.java
./lucene-java-2.4.1/src/java/org/apache/lucene/queryParser/Token.java

what can I do to have  org/apache/lucene/queryParser/Token included or am I missing something
else?

thanks in advance
Edwin




The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message