Thanks Antonio. Here is the last few text. java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19) Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode) Mac os 10.9.3. Do I need Java 1.7 51 build? INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:55 min [INFO] Finished at: 2014-05-30T15:18:11-08:00 [INFO] Final Memory: 121M/2177M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project org.apache.stanbol.commons.ldpath.clerezza: 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.UnsupportedClassVersionError: org/apache/marmotta/ldpath/api/backend/RDFBackend : Unsupported major.minor version 51.0 [ERROR] at java.lang.ClassLoader.defineClass1(Native Method) [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [ERROR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [ERROR] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [ERROR] at java.security.AccessController.doPrivileged(Native Method) [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [ERROR] at java.lang.Class.getDeclaredMethods0(Native Method) [ERROR] at java.lang.Class.privateGetDeclaredMethods(Class.java:2484) [ERROR] at java.lang.Class.getMethod0(Class.java:2727) [ERROR] at java.lang.Class.getMethod(Class.java:1639) [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] -> [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.commons.ldpath.clerezza On Fri, May 30, 2014 at 9:05 AM, Antonio David Perez Morales < ape...@zaizi.com> wrote: > Hi Harish > > Strange error, because this week I have built the Stanbol 1.0 version in > Mac 10.9.3 with Java 1.7 > > What Stanbol version are you using? > > Can you attach the full stack trace of your error? > > Regards > > > On Fri, May 30, 2014 at 1:46 AM, harish suvarna <hsuva...@gmail.com> > wrote: > > > I was trying to build the latest stanbol with Java 1.6 and got the error > > ========= > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) > on > > project org.apache.stanbol.commons.ldpath.clerezza: 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.UnsupportedClassVersionError: > > org/apache/marmotta/ldpath/api/backend/RDFBackend : Unsupported > major.minor > > version 51.0 > > > > [ERROR] at java.lang.ClassLoader.defineClass1(Native Method) > > > > [ERROR] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) > > > > ============ > > > > Then I upgraded to jdk1.7 and still get the same. any clues..? > > > > > > > > -- > > Thanks > > Harish > > > > -- > > ------------------------------ > 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. > -- Thanks Harish