When running the sample app "appsensor-ws-rest-server-with-websocket-mysql-boot" together with the ui org.hibernate.LazyInitializationException are thrown. I fixed it by adding spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true to my application.properties.