airavata-courses / TeamIndra

Team One's Repository for Spring 2016 I590 Class
1 stars 0 forks source link

Milestone 2 won't build #28

Open marpierc opened 8 years ago

marpierc commented 8 years ago

Marlons-MacBook-Pro:Gateway Web Service marpierc$ pwd /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service Marlons-MacBook-Pro:Gateway Web Service marpierc$ mvn clean install

[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Gateway Web Service 1.0.0-BUILD-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ indra --- [INFO] Deleting /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ indra --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ indra --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 44 source files to /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] bootstrap class path not set in conjunction with -source 1.6 /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[3,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[20,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobSubmitController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[13,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[32,14] error: cannot find symbol [ERROR] symbol: class Logger location: class SftpFileHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[3,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[17,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobCancelController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[9,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[24,14] error: cannot find symbol [ERROR] symbol: class Logger location: class ApplicationHandler /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[11,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,14] error: cannot find symbol [ERROR] symbol: class Logger location: class FileUploadController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[22,14] error: cannot find symbol [ERROR] symbol: class Logger location: class ConnectionHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[13,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobStatusParserImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[27,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobConfigUpdaterTask /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[20,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobStatusController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[30,14] error: cannot find symbol [ERROR] symbol: class Logger location: class JobHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,14] error: cannot find symbol [ERROR] symbol: class Logger location: class ConsoleMain /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[20,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobSubmitController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[32,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class SftpFileHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[167,17] [unchecked] unchecked conversion [ERROR] required: Vector found: Vector /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[17,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobCancelController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[24,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class ApplicationHandler /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class FileUploadController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[22,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class ConnectionHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/dao/JobConfigDaoImpl.java:[82,28] [cast] redundant cast to List [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[13,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobStatusParserImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[27,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobConfigUpdaterTask /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[20,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobStatusController /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[30,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class JobHandlerImpl /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,30] error: cannot find symbol [INFO] 35 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.117 s [INFO] Finished at: 2016-04-11T08:55:45-04:00 [INFO] Final Memory: 17M/299M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project indra: Compilation failure: Compilation failure: [ERROR] bootstrap class path not set in conjunction with -source 1.6 [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[3,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[20,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobSubmitController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[13,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[32,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class SftpFileHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[3,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[17,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobCancelController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[9,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[24,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class ApplicationHandler [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[11,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class FileUploadController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[22,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class ConnectionHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[13,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobStatusParserImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[27,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobConfigUpdaterTask [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[5,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[20,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobStatusController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[30,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class JobHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,14] error: cannot find symbol [ERROR] symbol: class Logger [ERROR] location: class ConsoleMain [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobSubmitController.java:[20,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobSubmitController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[32,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class SftpFileHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[167,17] [unchecked] unchecked conversion [ERROR] required: Vector [ERROR] found: Vector [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobCancelController.java:[17,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobCancelController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/applications/ApplicationHandler.java:[24,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class ApplicationHandler [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class FileUploadController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/connectionhandler/ConnectionHandlerImpl.java:[22,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class ConnectionHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/dao/JobConfigDaoImpl.java:[82,28] [cast] redundant cast to List [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/parser/JobStatusParserImpl.java:[13,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobStatusParserImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/tasks/jobconfig/JobConfigUpdaterTask.java:[27,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobConfigUpdaterTask [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/JobStatusController.java:[20,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobStatusController [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/jobhandler/JobHandlerImpl.java:[30,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class JobHandlerImpl [ERROR] /Users/marpierc/TeamIndraProjects/Milestone2/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,30] error: cannot find symbol [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

bhandaresagar commented 8 years ago

We made the code to be backward compatible with java 1.6. So it requires java6 on the machine. But I think we really won't need that. So, I have updated compliance version to java 1.8, could you please with latest code?

marpierc commented 8 years ago

You don't need to worry about Java 1.6 compatibility. I have Java 1.8 in my test environment.

bhandaresagar commented 8 years ago

I believe error was due to Java 1.6 config in pom file. I have updated it to Java 1.8. The web project should be buildable now.

marpierc commented 8 years ago

Did you push any changes to the milestone-2 branch since this one: https://github.com/airavata-courses/TeamIndra/commit/40fc15a68d4681d20c546493effc9e0c3139a014

Gateway First Tier still doesn’t build.

From: ajinkya-dhamnaskar notifications@github.com<mailto:notifications@github.com> Reply-To: airavata-courses/TeamIndra reply@reply.github.com<mailto:reply@reply.github.com> Date: Monday, April 11, 2016 at 5:07 PM To: airavata-courses/TeamIndra TeamIndra@noreply.github.com<mailto:TeamIndra@noreply.github.com> Cc: marpierc marpierc@iu.edu<mailto:marpierc@iu.edu> Subject: Re: [airavata-courses/TeamIndra] Milestone 2 won't build (#28)

I believe error was due to Java 1.6 config in pom file. I have updated it to Java 1.8. The web project should be buildable now.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/airavata-courses/TeamIndra/issues/28#issuecomment-208561016

bhandaresagar commented 8 years ago

No, that is the change I am referring to.