bleedingwolf / Ratpack

A micro web framework for Groovy
Other
210 stars 4 forks source link

Fix ClassNotFoundException: com.bleedingwolf.ratpack.RatpackRunner #18

Closed esumerfd closed 13 years ago

esumerfd commented 13 years ago

Add build/classes to ratpack script for so that RatpackRunner is accessible. The other option was to add the build/libs/ratpack*jar to the path which should also work.

Original behavior:

[master] ratpack: export PATH=$PATH:$HOME/ratpack/build/ratpack/bin
[master] ratpack: ratpack hello.groovy 
org.codehaus.groovy.tools.RootLoader@64578ceb
Caught: java.lang.ClassNotFoundException: com.bleedingwolf.ratpack.RatpackRunner
    at ratpack.run(ratpack:10)