3
我为某个项目编写了一些自定义复合小部件,并将它们编译到单独的jar文件中。我将这个jar文件添加到GWT项目的构建路径中。当我尝试将小部件添加到面板(按“选择组件”按钮),我可以选择复合控件的类在列表中,但我得到了以下错误:无法将自定义小部件添加到GWT设计器调色板
WindowBuilder was unable to load com.test.common.ui.LocationBox. This may be caused by ClassLoader problems. Do you want to refresh editor and try again?
我在做什么这里错了吗?有什么我需要添加到罐子,使其正确加载?
您应该知道GWT设计师不再受到官方支持。看看[这个问题](http://stackoverflow.com/questions/27175381/why-does-gwt-2-7-discontinue-the-designer)。 – 2015-02-03 19:15:21