Hi Gabriel, did you run 'mvn clean install' in the root directory? Did you try removing your local repository (~/.m2/repository/*) and try again to first run clean install in the root and then continue with the indexing script?
Cheers, Max On Tue, May 28, 2013 at 9:18 PM, Gabriel Oliveira <[email protected]> wrote: > Hello Pablo, > > Yes I am using maven 3. The output of 'mvn -version' is the following: > > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 > 10:51:28-0300) > Maven home: /opt/apache-maven-3.0.5 > Java version: 1.7.0_21, vendor: Oracle Corporation > Java home: /usr/lib/jvm/jdk1.7.0_21/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.8.0-21-generic", arch: "amd64", family: "unix" > > Yours, > Gabriel Oliveira > > > 2013/5/26 Pablo N. Mendes <[email protected]> > >> >> Gabriel, >> Are you using maven 3? Can you please post the output of "mvn -version"? >> >> Cheers, >> Pablo >> >> >> On Thu, May 23, 2013 at 8:46 PM, Gabriel Oliveira <[email protected]> >> wrote: >>> >>> To whom it may concern: >>> >>> Hello, >>> >>> I am writting to ask for help in setting up the DBpedia Spotlight. I am >>> not sure if this is the right adress to send such message. I apologize if it >>> is not and I would be grateful if you sent me the correct address to which I >>> should send this message. >>> >>> I am facing an issue while trying to set up the DBpedia Spotlight. I have >>> already downloaded everything, compiled the project and set the 'indexing >>> properties' file, now I am following the step-by-step guide in the >>> 'index.sh' file. As recommended, I am copy/pasting the commands one by one. >>> The problem I am facing comes when I try to run >>> ExtractOccsFromWikipedia.scala. An error is being shown and I just can't >>> manage to fix it, perhaps I could do it with some help. The error is shown >>> to me as follows: >>> >>> [ERROR] Failed to execute goal >>> net.alchim31.maven:scala-maven-plugin:3.1.0:run (default-cli) on project >>> index: wrap: org.apache.commons.exec.ExecuteException: Process exited with >>> an error: 240(Exit value: 240) -> [Help 1] >>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >>> goal net.alchim31.maven:scala-maven-plugin:3.1.0:run (default-cli) on >>> project index: wrap: org.apache.commons.exec.ExecuteException: Process >>> exited with an error: 240(Exit value: 240) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> at java.lang.reflect.Method.invoke(Method.java:601) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >>> Caused by: org.apache.maven.plugin.MojoExecutionException: wrap: >>> org.apache.commons.exec.ExecuteException: Process exited with an error: >>> 240(Exit value: 240) >>> at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:408) >>> at >>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) >>> ... 19 more >>> Caused by: org.apache.commons.exec.ExecuteException: Process exited with >>> an error: 240(Exit value: 240) >>> at >>> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346) >>> at >>> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149) >>> at >>> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:136) >>> at >>> scala_maven_executions.JavaMainCallerByFork.run(JavaMainCallerByFork.java:99) >>> at >>> scala_maven_executions.JavaMainCallerSupport.run(JavaMainCallerSupport.java:96) >>> at scala_maven.ScalaRunMojo.doExecute(ScalaRunMojo.java:93) >>> at scala_maven.ScalaMojoSupport.execute(ScalaMojoSupport.java:400) >>> ... 21 more >>> [ERROR] >>> [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/MojoExecutionException >>> >>> I would be delighted if I could get any help from you. I have also >>> attached a text file with the full output in case you need it. >>> Thanks in advance! I look forward to hearing from you soon. >>> >>> Yours, >>> Gabriel Oliveira >>> >>> >>> ------------------------------------------------------------------------------ >>> Try New Relic Now & We'll Send You this Cool Shirt >>> New Relic is the only SaaS-based application performance monitoring >>> service >>> that delivers powerful full stack analytics. Optimize and monitor your >>> browser, app, & servers with just a few lines of code. Try New Relic >>> and get this awesome Nerd Life shirt! >>> http://p.sf.net/sfu/newrelic_d2d_may >>> _______________________________________________ >>> Dbp-spotlight-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users >>> >> >> >> >> -- >> >> Pablo N. Mendes >> http://pablomendes.com > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Dbp-spotlight-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Dbp-spotlight-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users
