This was a tricky one to solve! Tricky because the exception doesn't happen at the point of error - it happens down the line at the time you try to commit a transaction. This is one of those error messages you just need to know. Here is the top of the exception's stack trace. Almost all of the rest of the stack trace is inside hibernate and doesn't give you any kind of clue as to the cause. more »
Category: "Java"
During Spring development I got this exception, but there was almost no reference to what caused it. So after a lot of searching I found out the cause and thought I'd blog it for others struggling with the same problem. more »
This article gives a step by step set of instructions to set up Eclipse to run a Jetty application container using Jersey RESTful annotations and talk to a MySQL database. You would have thought that with all these technologies being really popular ther… more »
I have just spent the last 2 days looking for why my Spring container (under Tomcat) was getting ClassNotFoundException and NoClassDefFoundError during start up. There is so much mis-leading stuff in the Internet.
I had 2 projects in Eclipse: the cor… more »
I had a problem with renaming a properties file. Java's File.renameTo() always failed and returned false. There was no explanation as to why it failed, so it left me stuck with no idea what to do.
Windows has a different file locking policy to Unix (a… more »