I wanted to use Vaadin Charts addon with trial license but got stuck with the following error in eclipse:
“Chart cannot be resolved to a type”. I cannot import it actually…
To be mentioned that I have downloaded a trial license and put the file “vaadin.charts.developer.license” in C:\Users<my_username>"…but still the same error occurs.
I have added the license key also to Windows->Preference-Java->Installed JREs->Edit->Default VM arguments:
Btw. what do you mean imports don’t work? The code does not compile? What is the compilation error output?
As you have the dependency correctly set, maybe the dependency jars are corrupted. In that case mvn dependency:purge-local-repository and building again might help.
Eventually, I deleted the complete .m2/repository folder and updated the project with Maven again. It seems the repository was refreshed correctly now and the importing could be performed.