GWT 项目编译不工作 - 没有错误,在 SUPERDEV 模式下完全 运行
GWT Project compile not working - No errors ,perfectly running on SUPERDEV mode
我们有一个使用 eclipse 的 GWT 项目 IDE 我们 运行 该项目处于 superdev 模式。直到昨天一切正常,但从我们的项目停止编译的任何地方开始,项目中没有发生任何错误。编译项目时,控制台中显示了一些 warning。
现在,问题是项目完美 运行在超级开发模式下,添加的每个功能都运行良好,没有错误,没有问题。
这就像如果我们有一些错误我们可以对它们进行排序但没有错误无法找到问题。试图研究和搜索但找不到任何有用的东西让我上了 SO。
使用:-
GWT-2.8.0
GWT Material
日食月神
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 上全局托管项目。
我的问题已经解决我的项目中有一个函数由于某些错误被无限次调用。最后在阅读 类 并调试代码后我们发现了问题。
我们有一个使用 eclipse 的 GWT 项目 IDE 我们 运行 该项目处于 superdev 模式。直到昨天一切正常,但从我们的项目停止编译的任何地方开始,项目中没有发生任何错误。编译项目时,控制台中显示了一些 warning。
现在,问题是项目完美 运行在超级开发模式下,添加的每个功能都运行良好,没有错误,没有问题。
这就像如果我们有一些错误我们可以对它们进行排序但没有错误无法找到问题。试图研究和搜索但找不到任何有用的东西让我上了 SO。
使用:-
GWT-2.8.0
GWT Material
日食月神
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 上全局托管项目。
我的问题已经解决我的项目中有一个函数由于某些错误被无限次调用。最后在阅读 类 并调试代码后我们发现了问题。