Update:

When i remove this from the pom:

 <property name="javaagent">
               
mvn:org.apache.sirona:sirona-javaagent:0.2-incubating:jar:shaded
            </property>

It doesn't fail with class loading issues anymore (that's good!), however
still fails with this one:

SEVERE - Exception sending context destroyed event to listener instance of
class org.apache.myfaces.webapp.StartupServletContextListener
javax.enterprise.inject.UnsatisfiedResolutionException: Api type
[javax.enterprise.inject.spi.BeanManager] is not found with the qualifiers 
Qualifiers: [@javax.enterprise.inject.Default()]
for injection into Method Injection Point, method name : 
camelBeansPostProcessor, Bean Owner : [CdiCamelExtension,
WebBeansType:EXTENSION, Name:null, API
Types:[javax.enterprise.inject.spi.Extension,org.apache.camel.cdi.CdiCamelExtension,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]
        at
org.apache.webbeans.util.InjectionExceptionUtil.throwUnsatisfiedResolutionException(InjectionExceptionUtil.java:65)
        at
org.apache.webbeans.container.InjectionResolver.getInjectionPointBean(InjectionResolver.java:279)
        at
org.apache.webbeans.event.ObserverMethodImpl.getMethodArguments(ObserverMethodImpl.java:369)
        at
org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:215)
        at
org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:676)



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/persistence-xml-for-unit-tests-tp4679874p4679944.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to