Dear Mr. Furkan Kamaci

Could you please help me with the Stanbol Installation.

I have one instance of Maven 2.0 on my machine required for one of the text
mining softwares, eclipse etc.
As per the Stanbol site tutorial (
http://stanbol.apache.org/docs/trunk/tutorial.html ) I downloaded Maven
3.2.1 and Installed with all the environment variables for Maven, Java and
Path. Running maven from command line shows the version.

I have Stanbol (apache-stanbol-0.12.0-source-release) which when installed
using "mvn clean install" from the directory specified, shows
MojoExecutionException error with instructions to run installation with -e
and -X switch. With this also I am facing the life cycle goal error.

Upon running mvn validate with -e switch and -X MissingProjectException is
being shown.
I tried mvn deploy but that also says the MissingProjectException

Please enlighten how should I go about.

My goal is to explore the aspects of Semantic Engines to begin with and
then know details for how to go about SEO if possible.

Thanks
Bhoomin Pandya


On Mon, Apr 7, 2014 at 12:52 AM, Furkan KAMACI <furkankam...@gmail.com>wrote:

> Hi Cihad;
>
> Trunk does not throw such kind of error right now. Could you try a clean
> install without using: -Djsse.enableSNIExtension=false parameter. I suggest
> you skip tests because I get an error at integration tests. All in all you
> can try this:
>
> mvn clean install -Dmaven.test.skip=true
>
> When I install Stanbol I get error about snapshot repositories of Apache.
> So I have added that lines explicitly to the Stanbol parent pom:
>
> <repositories>
>      <repository>
>          <id>apache.snapshots</id>
>          <url>http://repository.apache.org/snapshots/</url>
>      </repository>
> </repositories>
>
> These configuration results with a successful build for me. One more thing:
> do not forget to update the project.
>
> Thanks;
> Furkan KAMACI
>
>
>
> 2014-04-06 21:04 GMT+03:00 Cihad Guzel <cguz...@gmail.com>:
>
> > hi all
> >
> > I try to build trunk (mvn -Djsse.enableSNIExtension=false install) .
> > But I have a error as follow:
> > Do you have such an error?
> >
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4:44.942s
> > [INFO] Finished at: Sun Apr 06 20:54:10 EEST 2014
> > [INFO] Final Memory: 148M/1821M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test)
> on
> > project org.apache.stanbol.entityhub.jersey: Execution default-test of
> goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: There
> was
> > an error in the forked process
> > [ERROR] java.lang.NoClassDefFoundError:
> > com/sun/jersey/server/impl/provider/RuntimeDelegateImpl
> > [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method)
> > [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
> > [ERROR] at java.lang.Class.getMethod0(Class.java:2694)
> > [ERROR] at java.lang.Class.getMethod(Class.java:1622)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:52)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:206)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:103)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
> > [ERROR] at
> >
> >
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> > [ERROR] at
> > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
> > [ERROR] Caused by: java.lang.ClassNotFoundException:
> > com.sun.jersey.server.impl.provider.RuntimeDelegateImpl
> > [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> > [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 java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> > [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> > [ERROR] ... 15 more
> > [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/PluginExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :org.apache.stanbol.entityhub.jersey
> >
>

Reply via email to