java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper published on 2 Comments on java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper

Problem You just installed GlassFish 4.1.1 and deployed your java jax-rs application to it and it fails with the above mentioned error. Solution Well as far as I found out it has not yet officially been fixed by Oracle. A solution has been described there and I can confirm that for me it worked. The… Continue reading java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.jaxb.BeanValidationHelper

Force an unlock of MySQL tables if locked

Force an unlock of MySQL tables if locked published on No Comments on Force an unlock of MySQL tables if locked

How to fix an unlocked table. Sometimes you have a locked table when something went wrong and you can not go on without it being unlocked. here is how to do that. 1) Enter MySQL mysql -u your_user -p 2) Let’s see the list of locked tables show open tables where in_use>0; 3) Look at… Continue reading Force an unlock of MySQL tables if locked