Login Form






Lost Password?
No account yet? Register
Home arrow Forums
ECharts
Welcome, Guest
E4SS, Grails and SailFin (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: E4SS, Grails and SailFin
#50
Gregory W. Bond (User)
Senior Boarder
Posts: 75
graph
User Offline Click here to see the profile of this user
E4SS, Grails and SailFin 1 Year, 7 Months ago  
This thread discusses the Content article: E4SS, Grails and SailFin

The article has been updated to fix a couple of oversights pointed out by Russell Roy (thanks Russ!).

Section 3.3 now mentions setting your Java CLASSPATH and Section 5.2 fixes a typo in the war file name.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#168
Shailen Karur (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:E4SS, Grails and SailFin 1 Year, 1 Month ago  
Hi,
I get a 'grails war' error when I try to generate a war -
[groovyc] Compiling 12 source files to /root/.grails/1.0.4/projects/callForwarding/classes
Compilation error: org.codehaus.groovy.control.MultipleCompilati_onerror_sException: startup failed, General error during conversion: Invalid variable name. Must start with a letter but was: ’com.
Node: org.codehaus.groovy.ast.expr.Variable_expression_. At [11:26]

I've done a source code grep of all files and the offending term ('com) doesn't turn up except in a _java_script__ file.

Any ideas? What could be going on for that error to be thrown?
I've been unable to show my proof of concept as yet.

Thanks very much for any help proferred

Cheers,
Shailen
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#169
Gregory W. Bond (User)
Senior Boarder
Posts: 75
graph
User Offline Click here to see the profile of this user
Re:E4SS, Grails and SailFin 1 Year, 1 Month ago  
hi shailen

i just upgraded my callForwarding grails project from v1.0.3 to 1.0.4 and i managed to get the war file no problem - you've got a strange error - what platform are you doing this on? did you cut and paste the code from the website to your code editor?

when i grep for 'com' in my project i find it in a few places, but none that would obviously cause the compiler to choke:

% find . -name '*.groovy' -exec grep -nH com {} ;
./grails-app/conf/Config.groovy:37: grails.serverURL = "http://www.changeme.com"
./grails-app/conf/Config.groovy:60: codehaus.groovy.grails.commons="info" // core / classloading
./grails-app/conf/DataSource.groovy:11: cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'

one thing you may want to try is executing a 'grails clean' in your project before 'grails war'

let me know how things go

greg
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#170
Shailen Karur (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:E4SS, Grails and SailFin 1 Year, 1 Month ago  
Hi Greg,

Thanks for the reply - I had a syntax issue with a hibernate setting in Datasource.groovy.

Fixed that, and was able to create a war, no problems.


Thanks once again,
Shailen
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Copyright © 2006-2009 echarts.org