Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/gwt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 即使页面在包中,也找不到页面_Java_Gwt_Errai - Fatal编程技术网

Java 即使页面在包中,也找不到页面

Java 即使页面在包中,也找不到页面,java,gwt,errai,Java,Gwt,Errai,我的勘误表GWT应用程序有问题,当页面尝试转换到一个页面时,比如FormsPage,我会遇到此错误: No page with a widget type of com.mycompany.myproject.client.local.FormsPage exists 即使FormsPage在包中,并且没有编译时错误(因此它能够定位页面),在: 转换为formsPage; 可能是什么问题?我忘记了“Page”类中的include@Page注释 因此,在上面添加这个解决了这个问题。添加face

我的
勘误表GWT
应用程序有问题,当页面尝试
转换到一个页面时,比如
FormsPage
,我会遇到此错误:

No page with a widget type of com.mycompany.myproject.client.local.FormsPage exists
即使FormsPage在包中,并且没有编译时错误(因此它能够定位页面),在:

转换为formsPage;

可能是什么问题?

我忘记了“Page”类中的include
@Page
注释


因此,在上面添加这个解决了这个问题。

添加facebook和java标记可能与此无关。是的,我的错,这是我上一篇文章中的标记…三个问题:当你出现错误时,你使用的是哪个版本的勘误表,FormsPage的java代码看起来像什么,FormsPage在哪个包中?
TransitionTo<FormsPage> formsPage;