grails配置jndi数据源 2015/12/14 16690 dataSource { jndiName = "java:comp/env/jdbc/lugua" //或 jndiName = "jdbc/lugua" 视你的jee容器jndi是全局jndi还是本地jndi而定 }