首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >widgetsets GWT模块描述文件并重新编译vaadin中的widgetset错误

widgetsets GWT模块描述文件并重新编译vaadin中的widgetset错误
EN

Stack Overflow用户
提问于 2012-09-25 21:03:28
回答 2查看 2.4K关注 0票数 0

我正在尝试在vaadin中创建一个带有新奇图表的图表。我添加了相关的jars,创建了另一个指向jquery highchart和模块文件的应用servlet,并修改了web.xml文件。当我添加我的饼图代码时,我从浏览器中得到了以下内容;

Widgetset does not contain implementation for com.invient.vaadin.charts.InvientCharts. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions. Unrendered UIDL: -Unrendered UIDL -com.invient.vaadin.charts.InvientCharts(NO CLIENT IMPLEMENTATION FOUND) id=PID5 height=400px width=100.0% isRetrieveSVG=false isPrint=false reloadChartSeries=false -options -title text=Distribution of positive negative tweets -subtitle -credit -position -legend -tooltip -chart type=pie zoomType= clientZoom=true -seriesOptionsPerSeriesType -pie allowPointSelect=true cursor=pointer showInLegend=true -dataLabel enabled=false -state -xAxes -yAxes -labels -chartData -series name=Status xAxis=0 yAxis=0 -pie -points -point name=Positive x=0 y=10 isShift=false -point name=Negative x=1 y=20 isShift=false -events -chartEvents -seriesEvents -series -pointEvents -line -pointEvents -spline -pointEvents -scatter -pointEvents -area -pointEvents -areaspline -pointEvents -bar -pointEvents -column -pointEvents -pie -pointEvents -chartDataUpdates -seriesDataUpdate seriesName=Status operation=Add isReloadPoints=false -pointsAdded -pointsRemoved

当我按下compile vaadin widgets按钮时,我会得到;

select a widgetset file(..widgetset.gwt.xml) or a vaadin project to compile.

这里似乎有什么问题?在我的其他项目中,这个widgetset.gwt.xml是由eclipse创建的。

由于我是一个不熟悉图表的新手,我不知道在这里放什么,比如日志等,所以如果你让我知道,我会提供这些信息。

EN

Stack Overflow用户

回答已采纳

发布于 2012-09-26 15:03:24

为了解决此问题,我在项目中手动添加了一个gwt.xml文件,并将其他项目的gwt.xml内容复制到新创建的gwt.xml中,然后在项目的web.xml文件中添加了对新创建的gwt.xml的引用。

票数 1
EN
查看全部 2 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12583577

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档