airavata-courses / TeamIndra

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

Compilation Error While building #25

Open patel99 opened 8 years ago

patel99 commented 8 years ago

Hi Team,

I followed the instuctions given in your Wiki Page. But while I try to build project I am getting following error, "bootstrap class path not set in conjunction with -source 1.6",

Does your project need JRE 1.6? As I only have JRE 1.8 in my machine.

Error Dump: [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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] bootstrap class path not set in conjunction with -source 1.6 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[168,17] [unchecked] unchecked conversion [ERROR] required: Vector found: Vector /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,30] error: cannot find symbol [ERROR] symbol: variable Logger location: class ConsoleMain /home/pratik/INFO590/OtherTeams/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 /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/dao/JobConfigDaoImpl.java:[84,28] [cast] redundant cast to List [ERROR] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,30] error: cannot find symbol [INFO] 35 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.963 s [INFO] Finished at: 2016-04-04T00:58:12-04:00 [INFO] Final Memory: 16M/177M [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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[6,23] error: package org.apache.log4j does not exist [ERROR] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/filehandler/SftpFileHandlerImpl.java:[168,17] [unchecked] unchecked conversion [ERROR] required: Vector [ERROR] found: Vector [ERROR] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/ConsoleMain.java:[23,30] error: cannot find symbol [ERROR] symbol: variable Logger [ERROR] location: class ConsoleMain [ERROR] /home/pratik/INFO590/OtherTeams/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] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/dao/JobConfigDaoImpl.java:[84,28] [cast] redundant cast to List [ERROR] /home/pratik/INFO590/OtherTeams/TeamIndra/Gateway Web Service/src/main/java/edu/iu/indra/scigw/web/FileUploadController.java:[27,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

Thanks