[
https://issues.apache.org/activemq/browse/SM-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gert Vanthienen updated SM-1972:
--------------------------------
Description:
When running the build on AIX, you run into the below exception for the bridge
integration tests:
{noformat}
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
defined in class path resource [integrationTest.xml]: Initialization of bean
failed;
nested exception is java.lang.TypeNotPresentException: Type
javax.annotation.PostConstruct not present
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
...
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
... 45 more
{noformat}
For the IBM JDK, these annotations should be present even if they're not
actually used.
was:
When running the build on AIX, you run into the below exception for the bridge
integration tests:
{noformat}
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class
path resource [integrationTest.xml]: Initialization of bean failed; nested
exception is java.lang.TypeNotPresentException: Type
javax.annotation.PostConstruct not present
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
...
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
... 45 more
{noformat}
For the IBM JDK, these annotations should be present even if they're not
actually used.
> Missing javax.annotation causes exceptions on AIX
> -------------------------------------------------
>
> Key: SM-1972
> URL: https://issues.apache.org/activemq/browse/SM-1972
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 3.3.3
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Fix For: 3.3.3
>
>
> When running the build on AIX, you run into the below exception for the
> bridge integration tests:
> {noformat}
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
> defined in class path resource [integrationTest.xml]: Initialization of bean
> failed;
> nested exception is java.lang.TypeNotPresentException: Type
> javax.annotation.PostConstruct not present
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> ...
> Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct
> at java.lang.Class.forNameImpl(Native Method)
> at java.lang.Class.forName(Class.java:163)
> at
> com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
> ... 45 more
> {noformat}
> For the IBM JDK, these annotations should be present even if they're not
> actually used.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.