2012-07-09 123 views
2

我试图在Play中运行一些测试,并且需要在test/lib目录中有一个Play 1.x jar。随着罐子,但是,玩给出了一个错误与消息:播放框架测试错误

Oops: UnexpectedException 
An unexpected error occured caused by exception UnexpectedException: 
While applying class play.classloading.enhancers.LocalvariablesNamesEnhancer on controllers.PlayDocumentation 

堆栈跟踪这里:https://gist.github.com/3077427

任何提示我怎么能包括罐,避免这个错误?需要罐子,因为我使用的是play.mvc.Http$Response

回答

0

将Play jar移动到/ test/lib之外的目录修复了此问题