When starting, I get such errors
(TypeError) : Cannot read property ‘parseDate’ of undefined
(TypeError) : $0.setOption is not a function
Are you using Spring / Spring Boot?
Yes
Have you added the FC packages to be scanned to @EnableVaadin?
(please also see “Overview/Build problems…” and documentation of @EnableVaadin annotation for further explanation )
Stefan Uebe:
@EnableVaadin
Adding setting @EnableVaadin does not help
Can you please create an issue in github with your source code?
Hi Stefan can you provide an example how to properly set the @EnableVaddin with its parameters values?
I’m getting this warning deploying the application
WARNING in …/node_modules/@vaadin/flow-frontend/full-calendar.js?babel-target=es5 271:17-27
"export ‘default’ (imported as ‘allLocales’) was not found in ‘@fullcalendar/core/locales-all’
@ …/target/frontend/generated-flow-imports.js?babel-target=es5
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (2 MiB).
This can impact web performance.
Assets:
build/vaadin-bundle-2e2b5b1c9427054dc5a3.cache.js (2 MiB)
build/vaadin-bundle.es5-493236d645097bdbaabd.cache.js (2.25 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (2 MiB). This can impact web performance.
Entrypoints:
bundle (2 MiB)
build/vaadin-bundle-2e2b5b1c9427054dc5a3.cache.js
bundle.es5 (2.25 MiB)
build/vaadin-bundle.es5-493236d645097bdbaabd.cache.js
and when I try to start it from TOMCAT
There was an exception while trying to navigate to ‘’ with the exception message ‘Error creating bean with name ‘com.mattia.matproject.ui.viewRecord.RecordView’: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mattia.matproject.ui.viewRecord.RecordView]
: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: Java heap space’
tks
Mattia
Simple question, but when you increase the available memory usable for your Tomcat (-Xmx option), does this issue still occur?
(I’m looking for solutions how to optimize the language / locales package size but cannot guarantee a nearby solution.)
Also please have a look on this issue, maybe it is the same reason: https://github.com/stefanuebe/vaadin_fullcalendar/issues/35