Hello
I have a problem building the local mirror of the lookup webservice.
When I run "mvn clean install" I got an exception on the maven-scalatest-plugin.
I tried both jdk 1.7 and 1.6 and both have the same problem.

Any suggestions??

Thanks
Mena

[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dbpedia-lookup ---
[INFO] Deleting /local/badiehm2/lookup/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
dbpedia-lookup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
dbpedia-lookup ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (copy-resources) @ 
dbpedia-lookup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- scala-maven-plugin:3.1.0:compile (compile) @ dbpedia-lookup ---
[INFO] /local/badiehm2/lookup/src/main/scala:-1: info: compiling
[INFO] Compiling 11 source files to /local/badiehm2/lookup/target/classes at 
1391083034395
[WARNING] 
/local/badiehm2/lookup/src/main/scala/org/dbpedia/lookup/lucene/Indexer.scala:52:
 warning: method optimize in class IndexWriter is deprecated: see corresponding 
Javadoc for more information.
[WARNING]         indexWriter.optimize()
[WARNING]                     ^
[WARNING] one warning found
[INFO] prepare-compile in 0 s
[INFO] compile in 31 s
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
dbpedia-lookup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (process-test-resources) @ 
dbpedia-lookup ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
dbpedia-lookup ---
[INFO] No sources to compile
[INFO]
[INFO] --- scala-maven-plugin:3.1.0:testCompile (test-compile) @ dbpedia-lookup 
---
[INFO] /local/badiehm2/lookup/src/test/scala:-1: info: compiling
[INFO] Compiling 4 source files to /local/badiehm2/lookup/target/test-classes 
at 1391083065850
[INFO] prepare-compile in 0 s
[INFO] compile in 19 s
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ dbpedia-lookup ---
[INFO] Surefire report directory: /local/badiehm2/lookup/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dbpedia.lookup.entities.EntitiesTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.dbpedia.lookup.entities.EntitiesXmlSerializationTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.dbpedia.lookup.entities.EntitiesJsonSerializationTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.dbpedia.lookup.IntegrationTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-scalatest-plugin:1.0-SNAPSHOT:test (test) @ dbpedia-lookup ---
WARNING: -p has been deprecated and will be reused for a different (but still 
very cool) purpose in ScalaTest 2.0. Please change all uses of -p to -R.
*** RUN ABORTED ***
  java.lang.UnsupportedClassVersionError: Bad version number in .class file
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  ...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59.939s
[INFO] Finished at: Thu Jan 30 12:58:08 CET 2014
[INFO] Final Memory: 13M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.scalatest:maven-scalatest-plugin:1.0-SNAPSHOT:test (test) on project 
dbpedia-lookup: There are test failures -> [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




----------------------------------------------------
Mena B. Habib
PhD Student

University of Twente
Faculty of Electrical Engineering, Mathematics and Computer Science.
Database Chair
7500AE Enschede, Netherlands

mail: m.b.ha...@ewi.utwente.nl<mailto:m.b.ha...@ewi.utwente.nl>
website: http://wwwhome.ctit.utwente.nl/~badiehm/
Phone: +31 53 489 4549
Fax: +31 53 489 2927
Mobile: +31 68 183 2680

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to