Hi Spiro, As discussed in the dev list, to build airavata, you need to have java 1.8. This compilation error is due to that. Please upgrade your java to 1.8 and try again.
Thanks, Chathuri On Wed, Apr 1, 2015 at 5:03 PM, Mihalakopoulos, Spiro < [email protected]> wrote: > Hi all, > > As I mentioned to Suresh via chat a few minutes ago, > > I get the following error (which I've been getting for about the last > couple of weeks) when doing a > $ mvn clean install > > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 25.428s > [INFO] Finished at: Wed Apr 01 16:51:43 EDT 2015 > [INFO] Final Memory: 34M/409M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal org.apache.maven.plugins: > maven-compiler-plugin:3.1:compile (default-compile) on project > airavata-common-utils: Compilation failure: Compilation failure: > [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/ > commons/utils/src/main/java/org/apache/airavata/common/ > utils/AiravataZKUtils.java:[214,53] cannot find symbol > [ERROR] symbol: variable BYTES > [ERROR] location: class java.lang.Long > [ERROR] /home/spiros/dev/Airavata/airavata_trunk/modules/ > commons/utils/src/main/java/org/apache/airavata/common/ > utils/AiravataZKUtils.java:[220,53] cannot find symbol > [ERROR] symbol: variable BYTES > [ERROR] location: class java.lang.Long > [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/ > MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :airavata-common-utils > spiros-OptiPlex-980 airavata_trunk # > > > Actually, now that I look at it, I was getting a GFAC related error the > previous days. I don't know if I'm doing something wrong, or if the code is > broken. > > Kind regards, > Spiros > > > > *Spiro Mihalakopoulos | HPC Scientific Programmer* > Information Technology > [email protected] > <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=mailto%3asmith.john%40umassmed.edu> > O. 508-856-3499 > Follow us on: Twitter > <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2ftwitter.com%2fUMassMedIT> > | LinkedIn > <https://mail.umassmed.edu/owa/redir.aspx?C=tc-53GJ3fUS10DMJlF_COjPMn0YtLtIIZjAIXkdiH6bIv_RQH7Yz7RRmXigI6xmW1aEggQN1q1c.&URL=https%3a%2f%2fwww.linkedin.com%2fgroups%2fUMASS-Medical-School-Information-Technology-8141269%3ftrk%3dgroups_members-h-dsc%26goback%3d%252Eanp_8141269_1405698393991_1> > >
