asmehra95 / wiseowl

This is a Fact based Question Answering System using Apache Solr as backend search engine, Wikipedia dumps as information source, Apache velocity , Html, Css for Web interface Design. The project also uses Linux bash script to perform its various functions like start,stop,training,indexing.
MIT License
25 stars 9 forks source link

mvn clean package giving error #12

Open savvyyy opened 4 years ago

savvyyy commented 4 years ago

mvn clean package [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building WiseOwl 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ WiseOwl --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ WiseOwl --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/itadmin/Desktop/wiseowl/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ WiseOwl --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 31 source files to /home/itadmin/Desktop/wiseowl/target/classes [INFO] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java: Some input files use unchecked or unsafe operations. [INFO] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/WiseOwlStanfordFilter.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[32,8] com.wiseowl.WiseOwl.solr.SentenceTokenizerFactory is not abstract and does not override abstract method create(org.apache.lucene.util.AttributeFactory,java.io.Reader) in org.apache.lucene.analysis.util.TokenizerFactory [ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[47,3] method does not override or implement a method from a supertype [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.981 s [INFO] Finished at: 2020-02-24T16:05:22+05:30 [INFO] Final Memory: 40M/389M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project WiseOwl: Compilation failure: Compilation failure: [ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[32,8] com.wiseowl.WiseOwl.solr.SentenceTokenizerFactory is not abstract and does not override abstract method create(org.apache.lucene.util.AttributeFactory,java.io.Reader) in org.apache.lucene.analysis.util.TokenizerFactory [ERROR] /home/itadmin/Desktop/wiseowl/src/main/java/com/wiseowl/WiseOwl/solr/SentenceTokenizerFactory.java:[47,3] method does not override or implement a method from a supertype [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException