[etl_admin] $compile [info] Compiling 3 Scala sources and 4 Java
sources to
D:\ECLIPSE_WORKSPACES\play2_apps\etl_admin\target\scala-2.9.1\classes…
[error]
D:\ECLIPSE_WORKSPACES\play2_apps\etl_admin\app\controllers\EtlWorkflowSeqNodeController.java:7:
error: package views.html.etlworkflowseqnode does not exist [error]
import views.html.etlworkflowseqnode.list; [error]
^ [error]
D:\ECLIPSE_WORKSPACES\play2_apps\etl_admin\app\controllers\EtlWorkflowSeqNodeController.java:14:
error: cannot find symbol[error] list.render(EtlWorkflowSeqNode.findTree(jobId))
[error] ^ [error] symbol: variable list [error]
location: class EtlWorkflowSeqNodeController [error] 2 errors [error]
{file:/D:/ECLIPSE_WORKSPACES/play2_apps/etl_admin/}etl_admin/compile:compile:
javac returned nonzero exit code [error] Total time: 7 s,completed
05.06.2012 17:14:44
这里是控制器代码:
package controllers; import play.mvc.Controller; import play.mvc.Result; import models.EtlWorkflowSeqNode; import play.db.jpa.Transactional; import views.html.etlworkflowseqnode.list; /*LINE #7,Eclipse really tells that there is no such package*/ public class EtlWorkflowSeqNodeController extends Controller { @Transactional public static Result list(Integer jobId) { return ok( list.render(EtlWorkflowSeqNode.findTree(jobId)) ); } }
我已经用我的项目树附加了一个图像.有这样的包,并有名为“列表”的模板.
我做错了什么