GWT项目编译不起作用 - 没有错误,在SUPERDEV模式下完美运行

时间:2017-05-18 08:07:38

标签: java eclipse gwt

我们有一个使用eclipse IDE的GWT项目,我们在superdev模式下运行项目。直到昨天一切正常,但是从我们项目停止编译的地方开始,项目中没有发生错误。在编译项目时,控制台中会显示一些警告。

现在,问题是项目完全在超级开发模式下运行,每个添加的功能都正常工作没有错误没有问题。

就好像我们有一些错误,我们可以对它们进行排序,但没有错误无法找到问题。试图学习&搜索,但无法找到任何帮助我的东西。

是: -

GWT-2.8.0

GWT材料

eclipse luna

 Compiling module com.edubot.Edubot
   Computing all possible rebind results for 'com.edubot.client.enggheads.web.homepage.HomePageBase.HomePageBaseUiBinder'
      Rebinding com.edubot.client.enggheads.web.homepage.HomePageBase.HomePageBaseUiBinder
         Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
            The following problems were detected
               [WARN] Line 29 column 25: encountered ":". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
   Computing all possible rebind results for 'com.edubot.client.enggheads.web.homepage.HomePageBase_HomePageBaseUiBinderImpl_GenBundle'
      Rebinding com.edubot.client.enggheads.web.homepage.HomePageBase_HomePageBaseUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 29 column 25: encountered ":". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
      Rebinding com.edubot.client.enggheads.web.homepage.HomePageBase_HomePageBaseUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 29 column 25: encountered ":". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
      Rebinding com.edubot.client.enggheads.web.homepage.HomePageBase_HomePageBaseUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 29 column 25: encountered ":". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
   Computing all possible rebind results for 'com.edubot.client.post.web.EmptyPost.EmptyClassesUiBinder'
      Rebinding com.edubot.client.post.web.EmptyPost.EmptyClassesUiBinder
         Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator
            The following problems were detected
               [WARN] Line 10 column 32: encountered "!". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
   Computing all possible rebind results for 'com.edubot.client.post.web.EmptyPost_EmptyClassesUiBinderImpl_GenBundle'
      Rebinding com.edubot.client.post.web.EmptyPost_EmptyClassesUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 10 column 32: encountered "!". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
      Rebinding com.edubot.client.post.web.EmptyPost_EmptyClassesUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 10 column 32: encountered "!". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
      Rebinding com.edubot.client.post.web.EmptyPost_EmptyClassesUiBinderImpl_GenBundle
         Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
            Preparing method style
               The following problems were detected
                  [WARN] Line 10 column 32: encountered "!". Was expecting one of: "}" "+" "-" "," ";" "/" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <IMPORTANT_SYM> <UNICODERANGE> <FUNCTION> 
   Compiling 2 permutations
      Compiling permutation 0...

这就是它停止工作并开始解决问题。

在项目编译之前,我们无法创建其war文件,也无法在tomcat上全局托管项目。

1 个答案:

答案 0 :(得分:0)

我的问题已经解决,我的项​​目中有一个函数,由于某些错误而被称为无限次。最后,在阅读完类和调试代码后,我们发现了问题。