document is not defined in nuxtjs on integrating jqxwidget

I’m integrating jqxWidgets(https://www.jqwidgets.com/vue/) into my nuxtjs app. Here are the steps I did: installed jqwidgest npm install –save jqwidgets-scripts After I imported the jqxGrid on my page import JqxGrid from “jqwidgets-scripts/jqwidgets-vue/vue_jqxgrid.vue”; I received an error for document is not defined. I created a plugin jqwidgets.js and added the following code: import Vue from ‘vue’ import…

Kotlin SpringBoot and JPA – How to create relations OneToOne?

I am trying to create a relation OneToOne between two entities and always get the error (or very similar, Error creating bean with name ‘entityManagerFactory’ always): org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’ defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: Unknown mappedBy in: com.moises.kotlinstoreapi.model.Image.product, referenced property unknown:…

Apache connections stuck on “sending reply” and high mysql load

Apache on my dedicated server constantly hangs due to connections being stuck in a state of “sending reply”: Apache status: connections stuck in “Sending Reply” This happens at least several times a day – sometimes it won’t happen for 2 or 3 hours, sometimes it’ll happen constantly to the point where all connections will be…