Error starting JBoss-4.2.3 GA with JDK 1.5
Problem:
When using JBoss-4.2.3 GA with JDK 1.5, you see errors such as this, during the server startup:
2008-10-12 21:24:13,656 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
java.lang.NoClassDefFoundError: javax/annotation/Resource
2008-10-12 21:24:13,672 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method init
javax.management.RuntimeErrorException: Error invoking method addChild
Caused by: javax.management.RuntimeErrorException: Error in