I have a JEE6 application (including resource adapters) that works perfectly when run within the Netbeans 7.2 IDE on Windows 7 x86_64 (with Oracle JDK 7).
However when I run the same ears on CentOS 6.4 (with Open JDK 1.7.0), I get the following errors:
Error in annotation processing: java.lang.NoClassDefError: javax/resource/cci/MessageListener
Class [ javax/resource/cci/Record] not found. Error while loading [ class...
I have tried including the Java EE 6 API Library in the ear /lib and this makes no difference.
Any suggestions?
Many thanks,
Ralph.