Hi Arohi As your error shows, your system is out of resources:
[ERROR] The system is out of resources. [ERROR] Consult the following stack trace for details. [ERROR] java.lang.OutOfMemoryError: PermGen space To avoid this error, you must raise the PermGen space of your JVM when launching maven. To do this, you have to set and export the MAVEN_OPTS environment variable with the required values: export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256m" You have to set the values to something appropriate in order to prevent the process fails. Regards On Thu, Jul 18, 2013 at 4:40 PM, Arohi Kumar <ar...@mobipulse.in> wrote: > Hi, > > I am a noob and doing a project which requires named entity tagging. I am > having trouble installing Apache Stanbol. I am following the tutorial given > at > http://stanbol.apache.org/docs/trunk/tutorial.html< > http://www.google.com/url?q=http%3A%2F%2Fstanbol.apache.org%2Fdocs%2Ftrunk%2Ftutorial.html&sa=D&sntz=1&usg=AFQjCNHmATKU4TmBUvg3v-71lA0EBncijA > > > > I am getting the error "*Failure executing javac, but could not parse the > error:*" > > The complete stack trace is given below. I beleive the error is coming in > the last step. My $JAVA_HOME and $PATH(contains $JAVA_HOME/bin) variables > seem correctly configured. Thanks in advance for your help > > [INFO] Apache Stanbol Commons Solr Core .................. SUCCESS > [12.226s] > [INFO] Apache Stanbol Commons Solr Managed ............... SUCCESS [7.000s] > [INFO] Apache Stanbol Commons Solr Web ................... SUCCESS [5.306s] > [INFO] Apache Stanbol Commons Solr Installer ............. SUCCESS [4.012s] > [INFO] Apache Stanbol Commons Solr Defauts ............... SUCCESS [0.356s] > [INFO] Apache Stanbol Commons Solr Extras: Lucene Smartcn Bundle SUCCESS > [4.409s] > [INFO] Apache Stanbol Commons Solr Extension for Paoding Analysis SUCCESS > [4.832s] > [INFO] Apache Stanbol Commons Solr Extras: Lucene Kuromoji Bundle SUCCESS > [4.699s] > [INFO] Apache Stanbol Commons Solr Extras: Lucene ICU Bundle SUCCESS > [3.102s] > [INFO] Apache Stanbol Commons Solr Extras: Lucene Stempel Bundle SUCCESS > [2.728s] > [INFO] Apache Stanbol Commons Jobs API ................... SUCCESS [2.135s] > [INFO] Apache Stanbol Commons Jobs Web ................... SUCCESS [3.302s] > [INFO] Apache Stanbol Commons Jobs Reactor ............... SUCCESS [0.043s] > [INFO] Apache Stanbol Commons OpenNLP Utilities and Models SUCCESS > [2.447s] > [INFO] Apache Stanbol Commons OWL Bundle ................. SUCCESS [5.849s] > [INFO] Apache Stanbol Commons Indexed Clerezza inMemory graph > implementation SUCCESS [2.505s] > [INFO] Apache Stanbol Commons JSON-LD API ................ SUCCESS [2.763s] > [INFO] Apache Stanbol Commons Clerezza LDPath Repository . SUCCESS [1.791s] > [INFO] Apache Stanbol Commons Launchpad .................. SUCCESS [2.195s] > [INFO] Apache Stanbol Commons Security Core .............. SUCCESS [3.343s] > [INFO] Apache Stanbol Commons Basic Authenticator ........ SUCCESS [1.510s] > [INFO] Apache Stanbol Commons Felix Webconsole Security Provider SUCCESS > [2.187s] > [INFO] Apache Stanbol Commons User Management ............ SUCCESS [4.026s] > [INFO] Apache Stanbol Commons CAS Light .................. SUCCESS [4.030s] > [INFO] Apache Stanbol Commons Testing Jar Executor ....... SUCCESS [2.285s] > [INFO] Apache Stanbol Commons Testing HTTP Testing Library SUCCESS > [3.106s] > [INFO] Apache Stanbol Commons Testing Stanbol Utilities .. SUCCESS [1.281s] > [INFO] Apache Stanbol Commons ............................ SUCCESS [0.032s] > [INFO] Apache Stanbol Entityhub .......................... SUCCESS [0.029s] > [INFO] Apache Stanbol Entityhub Generic Service API ...... SUCCESS [4.278s] > [INFO] Apache Stanbol Entityhub Generic Test Framework ... SUCCESS [4.273s] > [INFO] Apache Stanbol Entityhub Generic Core ............. SUCCESS [9.053s] > [INFO] Apache Stanbol Entityhub Model Clerezza ........... SUCCESS [3.315s] > [INFO] Apache Stanbol Entityhub Query SPARQL ............. SUCCESS [2.869s] > [INFO] Apache Stanbol Entityhub Site Linked Data Protocol SUCCESS [3.615s] > [INFO] Apache Stanbol Entityhub Managed Site ............. SUCCESS [3.484s] > [INFO] Apache Stanbol Entityhub Yard based on Clerezza ... SUCCESS [4.654s] > [INFO] Apache Stanbol Entityhub Yard based on Solr ....... SUCCESS [7.403s] > [INFO] Apache Stanbol Entityhub Web Jersey HTTP Endpoint . SUCCESS [7.796s] > [INFO] Apache Stanbol Entityhub LDPath Support ........... SUCCESS [4.045s] > [INFO] Apache Stanbol Entityhub Indexing ................. SUCCESS [0.030s] > [INFO] Apache Stanbol Entityhub Indexing Core ............ FAILURE [7.804s] > [INFO] Apache Stanbol Entityhub Indexing Source for Jena TDB SKIPPED > [INFO] Apache Stanbol Entityhub Indexing Source for vCard SKIPPED > [INFO] Apache Stanbol Entityhub Indexing Destination SolrYard SKIPPED > [INFO] Apache Stanbol Entityhub Indexing Generic RDF ..... SKIPPED > [INFO] Apache Stanbol Entityhub Indexing for geonames.org SKIPPED > [INFO] Apache Stanbol Entityhub Indexing for DBpedia.org . SKIPPED > [INFO] Apache Stanbol Entityhub Indexing for dblp ........ SKIPPED > [INFO] Apache Stanbol Entityhub Indexing for freebase.com SKIPPED > [INFO] Apache Stanbol Entityhub Default Configuration .... SKIPPED > [INFO] Apache Stanbol Ontology Manager : Services API .... SKIPPED > [INFO] Apache Stanbol Ontology Manager : Input Sources (Clerezza-based) > SKIPPED > [INFO] Apache Stanbol Ontology Manager : Input Sources (OWL API-based) > SKIPPED > [INFO] Apache Stanbol Ontology Manager : Core ............ SKIPPED > [INFO] Apache Stanbol Ontology Manager : Network Multiplexer (Clerezza > implementation) SKIPPED > [INFO] Apache Stanbol Ontology Manager : Registry Manager SKIPPED > [INFO] Apache Stanbol Ontology Manager : Web ............. SKIPPED > [INFO] Apache Stanbol Ontology Manager Reactor ........... SKIPPED > [INFO] Apache Stanbol Rules Services API ................. SKIPPED > [INFO] Apache Stanbol Rules Manager ...................... SKIPPED > [INFO] Apache Stanbol Rules Abstract Adapter ............. SKIPPED > [INFO] Apache Stanbol Rules Jena Adapter ................. SKIPPED > [INFO] Apache Stanbol Rules SPARQL Adapter ............... SKIPPED > [INFO] Apache Stanbol Rules Clerezza Adapter ............. SKIPPED > [INFO] Apache Stanbol Rules SWRL Adapter ................. SKIPPED > [INFO] Apache Stanbol Rules Adapter Reactor .............. SKIPPED > [INFO] Apache Stanbol Rules Refactorer ................... SKIPPED > [INFO] Apache Stanbol Rules Web .......................... SKIPPED > [INFO] Apache Stanbol Rules Reactor ...................... SKIPPED > [INFO] Apache Stanbol Enhancer ........................... SKIPPED > [INFO] Apache Stanbol Enhancer Services API .............. SKIPPED > [INFO] Apache Stanbol Enhancer Core ...................... SKIPPED > [INFO] Apache Stanbol Enhancer Test framework ............ SKIPPED > [INFO] Apache Stanbol Enhancer RDF entities .............. SKIPPED > [INFO] Apache Stanbol Enhancer NLP ....................... SKIPPED > [INFO] Apache Stanbol Enhancer NLP JSON serialization support SKIPPED > [INFO] Apache Stanbol Enhancer Weighted Job Manager ...... SKIPPED > [INFO] Apache Stanbol Enhancer Event Jobmanager .......... SKIPPED > [INFO] Apache Stanbol Enhancer JobManager Reactor ........ SKIPPED > [INFO] Apache Stanbol Enhancer Chain: DefaultChain ....... SKIPPED > [INFO] Apache Stanbol Enhancer Chain: GraphChain ......... SKIPPED > [INFO] Apache Stanbol Enhancer Chain: Weighted ........... SKIPPED > [INFO] Apache Stanbol Enhancer Chain: List ............... SKIPPED > [INFO] Apache Stanbol Enhancer Web (Jersey) .............. SKIPPED > [INFO] Apache Stanbol Enhancer LDPath .................... SKIPPED > [INFO] Apache Stanbol Enhancer Benchmark ................. SKIPPED > [INFO] Apache Stanbol Enhancer Defaults Configuration .... SKIPPED > [INFO] Apache Stanbol Contenthub ......................... SKIPPED > [INFO] Apache Stanbol Contenthub Service API ............. SKIPPED > [INFO] Apache Stanbol Contenthub Solr Store .............. SKIPPED > [INFO] Apache Stanbol Contenthub Clerezza Store .......... SKIPPED > [INFO] Apache Stanbol Contenthub InMemory Store .......... SKIPPED > [INFO] Apache Stanbol Contenthub Store Reactor ........... SKIPPED > [INFO] Apache Stanbol Contenthub Search Solr Searcher .... SKIPPED > [INFO] Apache Stanbol Contenthub Search Related Keyword Searcher SKIPPED > [INFO] Apache Stanbol Contenthub Featured Search ......... SKIPPED > [INFO] Apache Stanbol Contenthub Search Reactor .......... SKIPPED > [INFO] Apache Stanbol Contenthub Web ..................... SKIPPED > [INFO] Apache Stanbol Contenthub Clerezza LDPath Backend . SKIPPED > [INFO] Apache Stanbol Enhancement Engines ................ SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Tika .......... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : HTML Extractor SKIPPED > [INFO] Apache Stanbol Enhancement Engine : XMP Extractor . SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Refactor Engine SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Language Detection SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Language Identifier SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP ....... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP Sentence Detection > SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP Tokenizer SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP POS Tagging SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP NER ... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenNLP Chunker SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Smart Chinese Tokenizer SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Paoding Chinese Tokenizer > SKIPPED > [INFO] Apache Stanbol Enhancement Engine : NLP to RDF converter SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Kuromoji NLP .. SKIPPED > [INFO] Apache Stanbol Enhancement Engine : RESTful NLP processing SKIPPED > [INFO] Apache Stanbol Enhancement Engine : RESTful Language Identification > SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking Engine SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : > Lucene SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : > OpenNLP SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : > Smart Chinese SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : > Paoding SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Linking LabelTokenizer : > Kuromoji Japanese SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entityhub Linking SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Tagging SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Keyword Extraction SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Topic Classification SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Topic Classification : Web API > SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Sentiment Word Classifier > SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Sentiment Summarization SKIPPED > [INFO] Apache Stanbol Enhancer Enhancement Engine : Disambiguation using > Solr MLT SKIPPED > [INFO] Apache Stanbol Enhancement Engine : UIMA .......... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : UIMA Remote Client SKIPPED > [INFO] Apache Stanbol Enhancement Engine : UIMA To Triples SKIPPED > [INFO] Apache Stanbol Enhancement Engine : UIMA Local Client SKIPPED > [INFO] Apache Stanbol Enhancement Engine : TextAnnotation new Model > Conterter SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Entity Co-Mention SKIPPED > [INFO] Apache Stanbol Enhancement Engine : CELI Engine ... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : DBPedia Spotlight SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Geonames Linking SKIPPED > [INFO] Apache Stanbol Enhancement Engine : OpenCalais .... SKIPPED > [INFO] Apache Stanbol Enhancement Engine : Zemanta ....... SKIPPED > [INFO] Apache Stanbol CMS Adapter Parent ................. SKIPPED > [INFO] Apache Stanbol CMS Adapter Service API ............ SKIPPED > [INFO] Apache Stanbol CMS Adapter Core ................... SKIPPED > [INFO] Apache Stanbol CMS Adapter JCR .................... SKIPPED > [INFO] Apache Stanbol CMS Adapter CMIS Bundle ............ SKIPPED > [INFO] Apache Stanbol CMS Adapter Web .................... SKIPPED > [INFO] Apache Stanbol CMS Adapter Reactor ................ SKIPPED > [INFO] Apache Stanbol Reasoners Services API ............. SKIPPED > [INFO] Apache Stanbol Reasoners Service Manager .......... SKIPPED > [INFO] Apache Stanbol Reasoners OWL API .................. SKIPPED > [INFO] Apache Stanbol Reasoners Jena ..................... SKIPPED > [INFO] Apache Stanbol Reasoners Test Framework ........... SKIPPED > [INFO] Apache Stanbol Reasoners Web ...................... SKIPPED > [INFO] Apache Stanbol Reasoners Reactor .................. SKIPPED > [INFO] Apache Stanbol Demos Enhancer VIE UI .............. SKIPPED > [INFO] Apache Stanbol Bundlelists ........................ SKIPPED > [INFO] Apache Stanbol Bundlelist for the OSGi Framework .. SKIPPED > [INFO] Apache Stanbol Bundlelist for Commons Libraries ... SKIPPED > [INFO] Apache Stanbol Bundlelist for Default Data ........ SKIPPED > [INFO] Apache Stanbol Bundlelist for OpenNLP Models ...... SKIPPED > [INFO] Apache Stanbol Bundlelist for Sentiment Data ...... SKIPPED > [INFO] Apache Stanbol Bundlelist for Enhancer ............ SKIPPED > [INFO] Apache Stanbol Bundlelist for Entityhub ........... SKIPPED > [INFO] Apache Stanbol Bundlelist for CMS Adapter ......... SKIPPED > [INFO] Apache Stanbol Bundlelist for Contenthub .......... SKIPPED > [INFO] Apache Stanbol Bundlelist for Ontology Manager .... SKIPPED > [INFO] Apache Stanbol Bundlelist for Reasoners ........... SKIPPED > [INFO] Apache Stanbol Bundlelist for Rules ............... SKIPPED > [INFO] Apache Stanbol Bundlelist for Security ............ SKIPPED > [INFO] Apache Stanbol Bundlelist for the Clerezza Shell .. SKIPPED > [INFO] Apache Stanbol Bundlelist for Language Support: Smart Chinese > SKIPPED > [INFO] Apache Stanbol Bundlelist for Language Support: Paoding Chinese > SKIPPED > [INFO] Apache Stanbol Bundlelist for Language Support: Kuromoji Japanese > SKIPPED > [INFO] Apache Stanbol Launchers Full Launcher ............ SKIPPED > [INFO] Apache Stanbol Launchers Stable Launcher .......... SKIPPED > [INFO] Apache Stanbol Launchers Full Launcher as WAR ..... SKIPPED > [INFO] Apache Stanbol Statefull Webmodule Archetype ...... SKIPPED > [INFO] Apache Stanbol Stateles Webmodule Archetype ....... SKIPPED > [INFO] Apache Stanbol Enhancer Engine Archetype .......... SKIPPED > [INFO] Apache Stanbol Integration Tests .................. SKIPPED > [INFO] Apache Stanbol Reactor ............................ SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 6:27.346s > [INFO] Finished at: Thu Jul 18 14:23:54 UTC 2013 > [INFO] Final Memory: 143M/828M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile > (default-compile) on project org.apache.stanbol.entityhub.indexing.core: > Compilation failure > [ERROR] Failure executing javac, but could not parse the error: > [ERROR] > [ERROR] > [ERROR] The system is out of resources. > [ERROR] Consult the following stack trace for details. > [ERROR] java.lang.OutOfMemoryError: PermGen space > [ERROR] at java.lang.ClassLoader.defineClass1(Native Method) > [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:792) > [ERROR] at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > [ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > [ERROR] at java.security.AccessController.doPrivileged(Native Method) > [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > [ERROR] at > > org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56) > [ERROR] at com.sun.tools.javac.comp.Check.<init>(Check.java:96) > [ERROR] at com.sun.tools.javac.comp.Check.instance(Check.java:86) > [ERROR] at com.sun.tools.javac.code.Types.<init>(Types.java:101) > [ERROR] at com.sun.tools.javac.code.Types.instance(Types.java:88) > [ERROR] at com.sun.tools.javac.jvm.ClassReader.<init>(ClassReader.java:264) > [ERROR] at > com.sun.tools.javac.jvm.ClassReader.instance(ClassReader.java:226) > [ERROR] at > com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:331) > [ERROR] at > com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88) > [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:424) > [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353) > [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:342) > [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:333) > [ERROR] at com.sun.tools.javac.Main.compile(Main.java:94) > [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [ERROR] at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > [ERROR] at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [ERROR] at java.lang.reflect.Method.invoke(Method.java:606) > [ERROR] at > > org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:549) > [ERROR] at > > org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:156) > [ERROR] at > > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605) > [ERROR] at > org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) > [ERROR] at > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > [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 > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :org.apache.stanbol.entityhub.indexing.core > -- ------------------------------ This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. Zaizi Ltd is registered in England and Wales with the registration number 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road, London W6 7AN.