muchafel / wojatzki

1 stars 0 forks source link

js error: missing widget #18

Closed muchafel closed 7 years ago

muchafel commented 7 years ago

I get a js error when starting MainUI. Do I need to manually compile a widget or configure web settings?

Failed to load the widgetset:./../VAADIN/widgetsets/com.vaadin.client.widget.grid/com.vaadin.client.widget.grid.nocache.js?1496140901095

INFO: Requested resource [/VAADIN/widgetsets/com.vaadin.client.widget.grid/com.vaadin.client.widget.grid.nocache.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

wiekern commented 7 years ago

missed maven dependency of vaadin-client-compiled. Before I have compiled it by myself, thus, I didn't use it.

I will add the following lines into pom.xml

        <dependency>
            <groupId>com.vaadin</groupId>
            <artifactId>vaadin-client-compiled</artifactId>
            <version>${vaadin.version}</version>
        </dependency> 
wiekern commented 7 years ago

please pull the lastest code, I have pushed on github.

muchafel commented 7 years ago

still not working. How did you compile the widgets by hand? the widget set folder src/main/webapp/VAADIN/widgetsets is empty...

muchafel commented 7 years ago

for me it works if I uncomment com.vaadin.client.widget.grid in the vaadin-maven-plugin

Could you check if it also works for you this way + if it has some undesirable side-effects?

wiekern commented 7 years ago

it works for me, i have tested again, if i commented dependency vaadin-client-compled, then i got the error message u got.

muchafel commented 7 years ago

Ok so everything is fine :)