loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

@Override annotation bug #5

Closed hoangdt84 closed 10 years ago

hoangdt84 commented 10 years ago

Environment: Grails 2.4.0 Java 1.7u60 OS: Mac IDE: intelliJ

Detail: [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] /Users/hoangdang/work/projects/gampark/webservice/target/work/plugins/rest-api-doc-0.1.2/src/groovy/org/restapidoc/utils/JSONDocUtilsLight.groovy: 78: Method 'getApiDocs' from class 'org.restapidoc.utils.JSONDocUtilsLight' does not override method from its superclass or interfaces but is annotated with @Override. [groovyc] @ line 78, column 5. [groovyc] @Override [groovyc] ^ [groovyc] [groovyc] /Users/hoangdang/work/projects/gampark/webservice/target/work/plugins/rest-api-doc-0.1.2/src/groovy/org/restapidoc/utils/JSONDocUtilsLight.groovy: 102: Method 'getApiObjectDocs' from class 'org.restapidoc.utils.JSONDocUtilsLight' does not override method from its superclass or interfaces but is annotated with @Override. [groovyc] @ line 102, column 5. [groovyc] @Override [groovyc] ^ [groovyc] [groovyc] /Users/hoangdang/work/projects/gampark/webservice/target/work/plugins/rest-api-doc-0.1.2/src/groovy/org/restapidoc/utils/JSONDocUtilsLight.groovy: 131: Method 'getApiMethodDocs' from class 'org.restapidoc.utils.JSONDocUtilsLight' does not override method from its superclass or interfaces but is annotated with @Override. [groovyc] @ line 131, column 5. [groovyc] @Override [groovyc] ^ [groovyc] [groovyc] 3 errors

loic911 commented 10 years ago

What's your RestApiDoc version? It should be fix in 0.1.3.