wael.tanoukhi@me-iss.com
7 Posts |
Posted - 07/12/2011 : 05:40:39
|
Dear Support,
Can someone answer this post? we are facing the same problem
We are trying to compile the source code "CMS3X_source_rev_1.0.10937" we are using Grails 1.3.5 and getting the below 2 erros:
************************************** LOG START ***************************************************
Running pre-compiled script Script 'AppRun' not found, did you mean: 1) RunApp 2) RunWar 3) TestApp 4) CreateApp_ 5) CreateLdapRealm Please make a selection or enter Q to quit: 3 Environment set to null [groovyc] Compiling 92 source files to C:\Documents and Settings\dev\.grails\1.3.5\projects\CMS3.10937\plugin-classes [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] /C:/CMS3.10937/grails-app/domain/Patient.groovy: 1094: Apparent variable 'SysConfig' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: [groovyc] You attempted to reference a variable in the binding or an instance variable from a static context. [groovyc] You misspelled a classname or statically imported field. Please check the spelling. [groovyc] You attempted to use a method 'SysConfig' but left out brackets in a place not allowed by the grammar. [groovyc] @ line 1097, column 138. [groovyc] ", params:[tabIndex:5, format:SysConfig. [groovyc] ^ [groovyc] [groovyc] /C:/CMS3.10937/grails-app/domain/Patient.groovy: 1099: Apparent variable 'SysConfig' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes: [groovyc] You attempted to reference a variable in the binding or an instance variable from a static context. [groovyc] You misspelled a classname or statically imported field. Please check the spelling. [groovyc] You attempted to use a method 'SysConfig' but left out brackets in a place not allowed by the grammar. [groovyc] @ line 1103, column 143. [groovyc] ", params:[tabIndex:6, format:SysConfig. [groovyc] ^ [groovyc] [groovyc] 2 errors Error executing script AppRun: : Compilation Failed : Compilation Failed at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:590) at gant.Gant.executeTargets(Gant.groovy:589) Caused by: : Compilation Failed at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:910) at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:605) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at _GrailsCompile$_run_closure4_closure10.doCall(_GrailsCompile.groovy:117) at _GrailsCompile$_run_closure4_closure10.doCall(_GrailsCompile.groovy) at _GrailsSettings$_run_closure10.doCall(_GrailsSettings.groovy:280) at _GrailsSettings$_run_closure10.call(_GrailsSettings.groovy) at _GrailsCompile$_run_closure4.doCall(_GrailsCompile.groovy:104) at _GrailsCompile$_run_closure3.doCall(_GrailsCompile.groovy:69) at _GrailsTest$_run_closure1.doCall(_GrailsTest.groovy:111) at TestApp$_run_closure1.doCall(TestApp.groovy:101) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) ... 10 more at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:590) at gant.Gant.executeTargets(Gant.groovy:589) Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /C:/CMS3.10937/grails-app/domain/Patient.groovy: 1094: Apparent variable 'SysConfig' was found in a static scope but doesn't refer to a local variab le, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'SysConfig' but left out brackets in a place not allowed by the grammar. @ line 1097, column 138. ", params:[tabIndex:5, format:SysConfig. ^
/C:/CMS3.10937/grails-app/domain/Patient.groovy: 1099: Apparent variable 'SysConfig' was found in a static scope but doesn't refer to a local variab le, static field or class. Possible causes: You attempted to reference a variable in the binding or an instance variable from a static context. You misspelled a classname or statically imported field. Please check the spelling. You attempted to use a method 'SysConfig' but left out brackets in a place not allowed by the grammar. @ line 1103, column 143. ", params:[tabIndex:6, format:SysConfig.
|
|