Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ratpack apps don't run from Groovy Console #135

Closed
tomaslin opened this issue Aug 15, 2013 · 0 comments
Closed

Ratpack apps don't run from Groovy Console #135

tomaslin opened this issue Aug 15, 2013 · 0 comments
Assignees
Milestone

Comments

@tomaslin
Copy link
Contributor

So I start groovy console and type in:

@GrabResolver("https://oss.jfrog.org/artifactory/repo") 
@Grab("io.ratpack:ratpack-groovy:0.9.0-SNAPSHOT") 
import static ratpack.groovy.Groovy.ratpack 

ratpack { 
    handlers { 
        get { 
            render "Hello World!" 
        } 
    } 
} 

It tells me that the server is running. When I hit the url ( localhost:5050 ), I get

script file does not exist:/groovy/shell

Calling groovy ratpack.groovy with the same content above works.

I notice that if I open and run the ratpack.groovy file in groovyConsole, I get the same issue.

@ghost ghost assigned ldaley Dec 26, 2013
@ldaley ldaley closed this as completed in 8c978f7 Dec 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants