{"issue":{"created_at":"2011-11-19T02:33:26Z","state":"open","updated_at":"2011-11-19T02:58:15Z","user":{"gravatar_id":"339a0c20b35e4cde08686c72ccb932a8","id":1205774,"url":"https://api.github.com/users/msahil","login":"msahil","avatar_url":"https://secure.gravatar.com/avatar/339a0c20b35e4cde08686c72ccb932a8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"while compiling swagger-core i get following errors:\r\n\r\n*****************************************************************\r\nEnvironment\r\nOS: windows 7, 64 bit\r\nJDK 1.7\r\nScala 2.9.1\r\n\r\n*****************************************************************\r\n\r\n\r\nfastcompile:\r\n    [mkdir] Created dir: D:\\workspace\\git.repositories\\swagger-core\\build\\main\r\n    [mkdir] Created dir: D:\\workspace\\git.repositories\\swagger-core\\build\\main\\java\r\n   [scalac] Compiling 8 scala and 16 java source files to D:\\workspace\\git.repositories\\swagger-core\\build\\main\\java\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\ApiDocResource.scala:22: error: type mismatch\r\n;\r\n   [scalac]  found   : com.wordnik.swagger.core.Api\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] @Api(\"/resources\")\r\n   [scalac]  ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\ApiDocResource.scala:27: error: type mismatch\r\n;\r\n   [scalac]  found   : com.wordnik.swagger.core.Api\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] @Api(\"/resources\")\r\n   [scalac]  ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:46: error: type mismatch;\r\n\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class Documentation (@BeanProperty var apiVersion: String,\r\n   [scalac]                       ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:47: error: type mismatch;\r\n\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                      @BeanProperty var swaggerVersion: String,\r\n   [scalac]                       ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:48: error: type mismatch;\r\n\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                      @BeanProperty var basePath: String,\r\n   [scalac]                       ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:49: error: type mismatch;\r\n\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                      @BeanProperty var resourcePath: String){\r\n   [scalac]                       ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:114: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationEndPoint(@BeanProperty var path: String, @BeanProperty var description: String) {\r\n   [scalac]                              ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:114: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationEndPoint(@BeanProperty var path: String, @BeanProperty var description: String) {\r\n   [scalac]                                                              ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:146: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationOperation(@BeanProperty var httpMethod: String,\r\n   [scalac]                               ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:147: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                              @BeanProperty var summary: String,\r\n   [scalac]                               ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:148: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                              @BeanProperty var notes: String) {\r\n   [scalac]                               ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:149: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var deprecated: java.lang.Boolean = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:150: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var responseClass: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:151: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var nickname: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:242: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var name: String,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:243: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var description: String,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:244: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var notes: String,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:245: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var paramType: String,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:246: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var defaultValue: String,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:247: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var allowableValues: DocumentationAllowableValues,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:248: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var required: Boolean,\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:249: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                               @BeanProperty var allowMultiple: Boolean) {\r\n   [scalac]                                ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:250: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var paramAccess: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:251: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var internalDescription: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:252: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var wrapperName: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:253: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var dataType: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:294: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationAllowableListValues (@BeanProperty var values: java.util.List[String]) extends DocumentationAllowableValues\r\n{\r\n   [scalac]                                          ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:298: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var valueType: String = LIST_ALLOWABLE_VALUES\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:310: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationAllowableRangeValues (@BeanProperty var min: java.lang.Float,\r\n   [scalac]                                           ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:311: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                                          @BeanProperty var max: java.lang.Float) extends DocumentationAllowableValues  {\r\n   [scalac]                                           ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:315: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var valueType: String = RANGE_ALLOWABLE_VALUES\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:329: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                              @BeanProperty var valueType: String,\r\n   [scalac]                               ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:330: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]                              @BeanProperty var occurs: String) {\r\n   [scalac]                               ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:367: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationError(@BeanProperty var code: Int, @BeanProperty var reason: String) {\r\n   [scalac]                           ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:367: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac] class DocumentationError(@BeanProperty var code: Int, @BeanProperty var reason: String) {\r\n   [scalac]                                                        ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:378: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var uniqueFieldName: String = _\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:467: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:472: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var name: String = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:474: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var id: String = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:476: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var properties: java.util.Map[String, DocumentationSchema] = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:479: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var allowableValues: DocumentationAllowableValues  = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:482: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var description: String = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:485: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var notes: String = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:488: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var access: String = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:491: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var default: String = null //TODO this should be object\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:494: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var additionalProperties: DocumentationSchema = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:497: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var items: DocumentationSchema = null\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Documentation.scala:500: error: type mismatch\r\n;\r\n   [scalac]  found   : scala.reflect.BeanProperty\r\n   [scalac]  required: scala.annotation.Annotation\r\n   [scalac]   @BeanProperty var uniqueItems: Boolean = false\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Help.scala:31: error: overloaded method const\r\nructor ApiOperation with alternatives:\r\n   [scalac]   ()com.wordnik.swagger.core.ApiOperation <and>\r\n   [scalac]   (x$1: java.lang.String)com.wordnik.swagger.core.ApiOperation\r\n   [scalac]  cannot be applied to (value: java.lang.String, responseClass: java.lang.String)\r\n   [scalac]   @ApiOperation(value = \"Returns information about API parameters\",\r\n   [scalac]    ^\r\n   [scalac] D:\\workspace\\git.repositories\\swagger-core\\src\\main\\scala\\com\\wordnik\\swagger\\core\\Help.scala:59: error: overloaded method const\r\nructor ApiOperation with alternatives:\r\n   [scalac]   ()com.wordnik.swagger.core.ApiOperation <and>\r\n   [scalac]   (x$1: java.lang.String)com.wordnik.swagger.core.ApiOperation\r\n   [scalac]  cannot be applied to (value: java.lang.String, responseClass: java.lang.String, multiValueResponse: Boolean)\r\n   [scalac]   @ApiOperation(value = \"Returns list of all available api endpoints\",\r\n   [scalac]    ^\r\n   [scalac] 50 errors found\r\n\r\nBUILD FAILED\r\nD:\\workspace\\git.repositories\\swagger-core\\build.xml:75: Compile failed with 50 errors; see the compiler error output for details.\r\n\r\nTotal time: 3 minutes 28 seconds","assignee":null,"labels":[],"id":2286756,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":6,"title":"Error while compiling swagger-core","closed_at":null,"html_url":"https://github.com/wordnik/swagger-core/issues/6","milestone":null,"url":"https://api.github.com/repos/wordnik/swagger-core/issues/6"},"action":"created","comment":{"created_at":"2011-11-19T02:58:14Z","updated_at":"2011-11-19T02:58:14Z","user":{"gravatar_id":"339a0c20b35e4cde08686c72ccb932a8","id":1205774,"url":"https://api.github.com/users/msahil","login":"msahil","avatar_url":"https://secure.gravatar.com/avatar/339a0c20b35e4cde08686c72ccb932a8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"updating scala version to 2.9.1 in ivy.xml worked","id":2797126,"url":"https://api.github.com/repos/wordnik/swagger-core/issues/comments/2797126"}}