@Platform and @Qualifier

@Autowired private MarketPlace marketPlaces; @Autowired@Qualifier( "ios") // the use is unique to Spring. It's darned convenient, too! private MarketPlace marketPlaces; and now jsr 330 package spring; [Read More]

Hibernate: Version-Based Optimistic Concurrency Control

Optimistic locking discards all incoming changes that are relative to an older entity version. But everything has a cost and optimistic locking makes no difference. The optimistic concurrency control mechanism takes an all-or-nothing approach even for non-overlapping changes. If two concurrent transactions are changing distinct entity property subsets then there’s... [Read More]

apache ode start problem java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

If you are using Tomcat v.6 or v.7, you probably get the error   Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) ... 1 more Could not find the main class:... [Read More]

Unsupported major.minor version 51.0

The version number shown describes the version of the JRE the class file is compatible with. J2SE 8=52, J2SE 7=51, J2SE 6.0=50, J2SE 5.0=49, JDK 1.4=48, JDK 1.3=47, JDK 1.2=46, JDK 1.1=45javac -target 1.4HelloWorld.java