andypetrella/classloading-problem — pull request #1 by rktoomey (2012-05-18 15:22:49+00:00)
Title: Forked and fixed Play 2 app with custom classloader

```scala

[classloading-problem] $ play
_ _
_ __ | | __ _ _ _| |
| '_ \| |/ _' | || |_|
| __/|_|\____|\__ (_)
|_| |__/

play! 2.0-RC3, http://www.playframework.org

> Type "help play" or "license" for more information.
> Type "exit" or use Ctrl+D to leave this console.

[classloading-problem] $ run

--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on port 9000...

(Server started, use Ctrl+D to stop and go back to the console...)

[info] play - Application started (Dev)
{ "_typeHint" : "models.User" , "_id" : { "$oid" : "4fb66889c89c59d9917c1412"} , "name" : "foo_1337354376954" , "profile" : { "_typeHint" : "models.Profile" , "billing" : { "_typeHint" : "models.Billing" , "data" : ""}}}
id=Some(4fb66889c89c59d9917c1412)
[info] Compiling 1 Scala source to /home/rose/workspace/classloading-problem/target/scala-2.9.1/classes...

--- (RELOAD) ---

[info] play - Application started (Dev)
{ "_typeHint" : "models.User" , "_id" : { "$oid" : "4fb668d3c89c59d9917c1413"} , "name" : "foo_1337354451271" , "profile" : { "_typeHint" : "models.Profile" , "billing" : { "_typeHint" : "models.Billing" , "data" : ""}}}
```