Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/370.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 未描述UIDL_Java_Vaadin - Fatal编程技术网

Java 未描述UIDL

Java 未描述UIDL,java,vaadin,Java,Vaadin,我在瓦丁6号上发展。我想使用瓦丁图表附加组件 我已经在web inf->lib中包含了所有的.jar文件,并编译了用于eclipse的vaadin插件所设置的小部件。但这是输出 Widgetset does not contain implementation for com.vaadin.addon.charts.Chart. Check its @ClientWidget mapping, widgetsets GWT module description file and re-compi

我在瓦丁6号上发展。我想使用瓦丁图表附加组件

我已经在web inf->lib中包含了所有的.jar文件,并编译了用于eclipse的vaadin插件所设置的小部件。但这是输出

Widgetset does not contain implementation for com.vaadin.addon.charts.Chart. 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.vaadin.addon.charts.Chart(NO CLIENT IMPLEMENTATION FOUND) id=PID10 height=300px width=400px confState={ "chart": { "type": "bar" }, "title": { "text": "Planets" }, "subtitle": { "text": "The bigger they are the harder they pull" }, "xAxis": { "categories": [ "Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune" ], "title": { "text": "Planet" }, "axisIndex": 0 }, "yAxis": { "labels": { "step": 2, "_fn_formatter": "function() {return Math.floor(this.value/1000) + \u0027Mm\u0027;}" }, "title": { "text": "Diameter" }, "axisIndex": 0 }, "legend": { "enabled": false }, "series": [ { "data": [ 4900, 12100, 12800, 6800, 143000, 125000, 51100, 49500 ], "name": "Diameter", "visible": true } ], "exporting": { "enabled": false } }
我做错了什么


Chris:D

您需要指定要使用的新widgetset(由编译器构建)

可能您忘记在web.xml中指定它了


okey我在我的web.xml中写道:
应用程序widgetset widgetset com.example.test.TestApplication
但是如果我编译,这是一个例外:加载widgetset失败:
/test/VAADIN/widgetset/com.example.test.TestApplication/com.example.test.test.TestApplication.nocache.js?1373817955849