{"action":"opened","issue":{"url":"https://api.github.com/repos/johnrengelman/grails-spring-batch/issues/30","labels_url":"https://api.github.com/repos/johnrengelman/grails-spring-batch/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/johnrengelman/grails-spring-batch/issues/30/comments","events_url":"https://api.github.com/repos/johnrengelman/grails-spring-batch/issues/30/events","html_url":"https://github.com/johnrengelman/grails-spring-batch/issues/30","id":87752981,"number":30,"title":"Compilation error","user":{"login":"drieu","id":1805675,"avatar_url":"https://avatars.githubusercontent.com/u/1805675?v=3","gravatar_id":"","url":"https://api.github.com/users/drieu","html_url":"https://github.com/drieu","followers_url":"https://api.github.com/users/drieu/followers","following_url":"https://api.github.com/users/drieu/following{/other_user}","gists_url":"https://api.github.com/users/drieu/gists{/gist_id}","starred_url":"https://api.github.com/users/drieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drieu/subscriptions","organizations_url":"https://api.github.com/users/drieu/orgs","repos_url":"https://api.github.com/users/drieu/repos","events_url":"https://api.github.com/users/drieu/events{/privacy}","received_events_url":"https://api.github.com/users/drieu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-12T14:55:07Z","updated_at":"2015-06-12T14:55:07Z","closed_at":null,"body":"Hi,\r\n\r\nI have a compilation at startup.\r\nI added the following in **BuildConfig.groovy**  file:       ** compile ':spring-batch:2.0.0'**\r\nThen, when I start My Grails Application ( 2.5.0 ), I have the following error :\r\n\r\n```java\r\n\"C:\\Program Files\\Java\\jdk1.7.0_51\\bin\\java\" -Dvisualvm.id=28765075634478 -Dgrails.home=E:\\logiciels\\grails-2.5.0\\grails-2.5.0 -Dbase.dir=E:\\projet\\toolprod\\fichiers_install\\toolprod \"-Dtools.jar=C:\\Program Files\\Java\\jdk1.7.0_51\\lib\\tools.jar\" -Dgroovy.starter.conf=E:\\logiciels\\grails-2.5.0\\grails-2.5.0/conf/groovy-starter.conf -Xmx768M -Xms768M -XX:MaxPermSize=256m -XX:PermSize=256m -Djline.WindowsTerminal.directConsole=false -Didea.launcher.port=7535 \"-Didea.launcher.bin.path=C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 12.1.7\\bin\" -Dfile.encoding=UTF-8 -classpath \"E:\\logiciels\\grails-2.5.0\\grails-2.5.0\\lib\\org.codehaus.groovy\\groovy-all\\jars\\groovy-all-2.4.3.jar;E:\\logiciels\\grails-2.5.0\\grails-2.5.0\\dist\\grails-bootstrap-2.5.0.jar;C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 12.1.7\\lib\\idea_rt.jar\" com.intellij.rt.execution.application.AppMain org.codehaus.groovy.grails.cli.support.GrailsStarter --main org.codehaus.groovy.grails.cli.GrailsScriptRunner --conf E:\\logiciels\\grails-2.5.0\\grails-2.5.0/conf/groovy-starter.conf run-app\r\n|Loading Grails 2.5.0\r\n|Configuring classpath\r\n.\r\n|Environment set to development\r\n.................................\r\n|Packaging Grails application\r\n|Installing zip spring-batch-2.0.0.zip...\r\n...\r\n|Installed plugin spring-batch-2.0.0\r\n...............\r\n|Installing zip platform-core-1.0.RC6.zip...\r\n...\r\n|Installed plugin platform-core-1.0.RC6\r\n\r\nNote: E:\\projet\\toolprod\\fichiers_install\\toolprod\\target\\work\\plugins\\scaffolding-2.1.2\\src\\java\\org\\codehaus\\groovy\\grails\\scaffolding\\AbstractGrailsTemplateGenerator.java uses or overrides a deprecated API.\r\nNote: Recompile with -Xlint:deprecation for details.\r\n  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:\r\n  [groovyc] E:\\projet\\toolprod\\fichiers_install\\toolprod\\target\\work\\plugins\\spring-batch-2.0.0\\grails-app\\services\\grails\\plugins\\springbatch\\SpringBatchService.groovy: 248: Method 'onApplicationEvent' from class 'grails.plugins.springbatch.SpringBatchService' does not override method from its superclass or interfaces but is annotated with @Override.\r\n  [groovyc]  @ line 248, column 2.\r\n  [groovyc]    \t@Override\r\n  [groovyc]     ^\r\n  [groovyc] \r\n  [groovyc] 1 error\r\n.Error \r\n|\r\nCompilation error: startup failed:\r\nE:\\projet\\toolprod\\fichiers_install\\toolprod\\target\\work\\plugins\\spring-batch-2.0.0\\grails-app\\services\\grails\\plugins\\springbatch\\SpringBatchService.groovy: 248: Method 'onApplicationEvent' from class 'grails.plugins.springbatch.SpringBatchService' does not override method from its superclass or interfaces but is annotated with @Override.\r\n @ line 248, column 2.\r\n   \t@Override\r\n    ^\r\n\r\n1 error\r\n```\r\nAny idea ?"}}