播放框架测试错误

时间:2012-07-09 16:21:21

标签: java playframework playframework-1.x

我正在尝试在Play中运行一些测试,并且需要在test / lib目录中安装Play 1.x jar。但是,使用jar,Play会在消息中显示错误:

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

有关如何包含jar并避免此错误的任何提示?我需要Jar,因为我正在使用play.mvc.Http$Response

1 个答案:

答案 0 :(得分:0)

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