NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index

URL url = Thread.currentThread().getContextClassLoader() .getResource(“javax/persistence/Table.class”); System.out.println(url); I’ve ran into the same problem. The question here is that play-java-jpa artifact (javaJpa key in the build.sbt file) depends on a different version of the spec (version 2.0 -> “org.hibernate.javax.persistence” % “hibernate-jpa-2.0-api” % “1.0.1.Final”). When you added hibernate-entitymanager 4.3 this brought the newer spec (2.1) and a different…

Ubuntu not showing eclipse menu

Open your eclipse.desktop file: sudo -H gedit /usr/share/applications/eclipse.desktop (If you can’t find it in this path, try in ~/.local/share/applications/eclipse.desktop. Otherwise, you could have to find yours using locate command). Replace the Exec= line with this: Exec=env UBUNTU_MENUPROXY= eclipse Where “eclipse” is the path to your eclipse executable. In this case it’s just “eclipse” since there’s…

Setting up Play Development Environment on Ubuntu

# Configure apt for java # http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:webupd8team/java echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections # Update apt sources apt-get update apt-get install -y unzip wget git vim oracle-java8-installer oracle-java8-set-default # Install scala cd /opt wget http://www.scala-lang.org/files/archive/scala-2.12.0.tgz tar -zxvf scala-2.12.0.tgz # end scala #Installing playframework on ubuntu…