ytchen0323 / cloud-scale-bwamem

Apache License 2.0
15 stars 9 forks source link

Error: Class scala.Serializable could not be found. #11

Open xubo245 opened 7 years ago

xubo245 commented 7 years ago

when ./compile, error:

[INFO] /bin/sh -c cd /home/hadoop/disk2/xubo/tools/cloud-scale-bwamem-0.2.2/target && javah -o /home/hadoop/disk2/xubo/tools/cloud-scale-bwamem-0.2.2/target/custom-javah/jni_mate_sw.h -classpath /home/hadoop/disk2/xubo/tools/cloud-scale-bwamem-0.2.2/target/classes:/curr/pengwei/github/cloud-scale-bwamem/target/cloud-scale-bwamem-0.2.2.jar cs.ucla.edu.bwaspark.jni.HelloWorld cs.ucla.edu.bwaspark.jni.MateSWType cs.ucla.edu.bwaspark.jni.SeqSWType cs.ucla.edu.bwaspark.jni.MateSWJNI cs.ucla.edu.bwaspark.datatype.MemAlnRegType cs.ucla.edu.bwaspark.datatype.MemOptType cs.ucla.edu.bwaspark.datatype.MemPeStat cs.ucla.edu.bwaspark.datatype.FASTQSingleNode
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature': class file for scala.reflect.ScalaSignature not found
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Cannot find annotation method 'bytes()' in type 'scala.reflect.ScalaSignature'
Error: Class scala.Serializable could not be found.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.624 s
[INFO] Finished at: 2017-02-22T12:08:35+08:00
[INFO] Final Memory: 8M/452M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:native-maven-plugin:1.0-alpha-8:javah (javah) on project jniNative: Error running javah command: Error executing command line. Exit code:1 -> [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/MojoExecutionException
[INFO] Scanning for projects...

link: Missing ".target/jniNative.so" file: https://github.com/ytchen0323/cloud-scale-bwamem/issues/7

waltermblair commented 7 years ago

Looks like you are perhaps including the curr/pengwei absolute path that should be updated in the two pom.xml per that issue you linked.

xubo245 commented 7 years ago

Thank you very much! It works.

xubo245 commented 7 years ago

I update README.md and pull request of this problem in https://github.com/ytchen0323/cloud-scale-bwamem/pull/12