Grails stops at "Configuring classpath" even at a helloworld project

user2244536

I want to learn Grails, so I started with a Hello-World Projekt. I tried everything in the cmd.exe and in STS. I have Windows7.

First i wrote grails create-app helloworld command

Then i swaped in the new helloworld\ directory and wrote grails run-app

But the command-line doesn't go furthen then Configuring classpath

I watched in other forums but nothing helped. I am sitting in a companys-internet. Does this cause the fault ?

Fault if log level is set on verbose (only the last few lines - before were about 500 other lines)

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

  • org.apache.tomcat.embed:tomcat-embed-core:7.0.42
  • org.apache.tomcat.embed:tomcat-embed-logging-log4j:7.0.42
  • org.eclipse.jdt.core.compiler:ecj:3.7.2
  • org.apache.tomcat:tomcat-catalina-ant:7.0.42
  • org.apache.tomcat.embed:tomcat-embed-logging-juli:7.0.42
  • org.apache.tomcat.embed:tomcat-embed-jasper:7.0.42

Edit: I use Grails 2.2.4 and heres my BuildConfig.groovy:

grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"

// uncomment (and adjust settings) to fork the JVM to isolate classpaths
//grails.project.fork = [
//   run: [maxMemory:1024, minMemory:64, debug:false, maxPerm:256]
//]

grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
        // specify dependency exclusions here; for example, uncomment this to disable ehcache:
        // excludes 'ehcache'
    }
    log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    checksums true // Whether to verify checksums on resolve
    legacyResolve false // whether to do a secondary resolve on plugin installation, not advised and here for backwards compatibility

    repositories {
        inherits true // Whether to inherit repository definitions from plugins

        grailsPlugins()
        grailsHome()
        grailsCentral()

        mavenLocal()
        mavenCentral()

        // uncomment these (or add new ones) to enable remote dependency resolution from public Maven repositories
        //mavenRepo "http://snapshots.repository.codehaus.org"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }

    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes e.g.

        // runtime 'mysql:mysql-connector-java:5.1.22'
    }

    plugins {
        runtime ":hibernate:$grailsVersion"
        runtime ":jquery:1.8.3"
        runtime ":resources:1.2"

        // Uncomment these (or add new ones) to enable additional resources capabilities
        //runtime ":zipped-resources:1.0"
        //runtime ":cached-resources:1.0"
        //runtime ":yui-minify-resources:0.1.5"

        build ":tomcat:$grailsVersion"

        runtime ":database-migration:1.3.2"

        compile ':cache:1.0.1'
    }
}
Karsten

Be sure you are not behind a proxy. Check on the command line grails list-plugins.

If this call fails: add and set the proxy and check the correct entries in the ProxySettings.groovy.

May this helps.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

grails helloworld application gives exception

From Dev

Configuring Classpath on IBM i (AS400) server

From Dev

Project Tango MeasureIt Stops

From Dev

Create phonegap project that is NOT named HelloWorld

From Dev

Update Gradle in Grails project

From Dev

Not able to compile grails project

From Dev

How to install grails project

From Dev

Update Gradle in Grails project

From Dev

STS Spring Project: Why is that HelloWorld example not working?

From Dev

trouble deploying helloworld project in google app engine

From Dev

IntelliJ Grails 3 Project: Unable to Run Grails project

From Dev

Install Plugin jar in Grails Project?

From Dev

Open a Grails project using TextMate

From Dev

Grails - Upgrade and downgrade version of the project

From Dev

scheduleWithFixedRate does not work in grails project

From Dev

Project stops working after installing signalr

From Dev

Phonegap 3 ios project is called "HelloWorld". How can I change it?

From Dev

ReactNativeCli init Helloworld project build error with Babel TransformError

From Dev

php script just stops even with set_time_limit(0)

From Dev

Python while loop never stops even though it should

From Dev

Python while loop never stops even though it should

From Dev

Eclipse: Errors in files not even in the project

From Dev

How to use Findall(closure) in grails project

From Dev

how to find your project current versions in grails

From Dev

Where to place resources in Grails 3 project?

From Dev

Error when creating Grails project using GGTS

From Dev

Executing a gant script from a grails project

From Dev

how to change the grails version for a project in GGTS

From Dev

How to publish grails project to server (artifactory)?

Related Related

HotTag

Archive