Skip to content

Instantly share code, notes, and snippets.

@abuiles
Created July 28, 2010 02:42
Show Gist options
  • Save abuiles/493208 to your computer and use it in GitHub Desktop.
Save abuiles/493208 to your computer and use it in GitHub Desktop.
abuiles@abuiles-laptop:~/odesk/Siva-Odesk/cospin$ mvn scala:compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - com.cospin.rest:cospin:war:1.0-SNAPSHOT
[INFO] task-segment: [scala:compile]
[INFO] ------------------------------------------------------------------------
[INFO] [scala:compile {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO] /home/abuiles/odesk/Siva-Odesk/cospin/src/main/scala:-1: info: compiling
[INFO] Compiling 8 source files to /home/abuiles/odesk/Siva-Odesk/cospin/target/classes at 1280284911680
[ERROR] /home/abuiles/odesk/Siva-Odesk/cospin/src/main/scala/com/cospin/rest/CampaignREST.scala:25: error: constructor cannot be instantiated to expected type;
[INFO] found : Some[A]
[INFO] required: Boolean
[INFO] case Some(userId) => {
[INFO] ^
[ERROR] /home/abuiles/odesk/Siva-Odesk/cospin/src/main/scala/com/cospin/rest/CampaignREST.scala:28: error: not found: value userId
[INFO] val campaign = new Campaign(userId,
[INFO] ^
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Tue Jul 27 21:41:57 COT 2010
[INFO] Final Memory: 14M/131M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment