Note that there are some explanatory texts on larger screens.

plurals
  1. POUpgrading from Grails 2.0.3 to 2.2.1: Server access Error: Connection refused
    primarykey
    data
    text
    <p>I'm trying to upgrade from Grails 2.0.3 to 2.2.1 as part of my Happy Trails application.</p> <p><a href="https://github.com/jamesward/happytrails/tree/grails2" rel="nofollow">https://github.com/jamesward/happytrails/tree/grails2</a></p> <p>The first thing I struggled with was getting Geb/Spock to work with Groovy 2. I was getting the following error when trying to install plugins or do just about anything.</p> <pre><code>| Resolving plugin JAR dependencies | Error WARNING: Dependencies cannot be resolved for plugin [mail] due to error: startup failed: Could not instantiate global transform class org.spockframework.compiler.SpockTransform specified at jar:file:/Users/mraible/.grails/ivy-cache/org.spockframework/spock-core/jars/spock-core-0.7-groovy-1.8.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception org.spockframework.util.IncompatibleGroovyVersionException: The Spock compiler plugin cannot execute because Spock 0.7.0-groovy-1.8 is not compatible with Groovy 2.0.7. For more information, see http://versioninfo.spockframework.org </code></pre> <p>I was able to workaround this using the <a href="http://grails.org/plugin/spock" rel="nofollow">spock instructions for Grails 2.2</a>.</p> <p>However, now I'm stuck with a strange error where Grails seems to be trying to download articles from a local repository.</p> <pre><code>$ grails compile | Configuring classpath :: problems summary :: :::: ERRORS Server access Error: Connection refused url=http://localhost:8081/artifactory/plugins-releases-local/org/codehaus/geb/geb-spock/0.9.0-RC-1/geb-spock-0.9.0-RC-1.pom Server access Error: Connection refused url=http://localhost:8081/artifactory/plugins-releases-local/org/codehaus/geb/geb-spock/0.9.0-RC-1/geb-spock-0.9.0-RC-1.jar | Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information): - org.codehaus.geb:geb-spock:0.9.0-RC-1 </code></pre> <p>Here's the diff for my project so far:</p> <p><a href="https://gist.github.com/mraible/5161209" rel="nofollow">https://gist.github.com/mraible/5161209</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload