Hi all,
I have a very very bad problem with pax-cdi and pax-web. My configuration: jetty 9.3.11.v20160721, weld 2.2.12.Final, pax-cdi 0.13.0-SNAPSHOT, pax-swissbox 1.8.0 , pax-web 6.0.0-SNAPSHOT.
The problem is that the SAME war bundle sometimes works fine, sometimes I get the exception:
org.jboss.weld.exceptions.UnsatisfiedResolutionException: WELD-001308: Unable to resolve any beans for Type: class com.example.SomeClass; Qualifiers: [@javax.enterprise.inject.Any()]
at org.jboss.weld.bean.builtin.InstanceImpl.get(InstanceImpl.java:101)
When I set logging level to debug - I see in weld log file that class com.example.SomeClass is found with qualifiers Any and Default.
However, when logging level is set to debug and everything works much slower I don't get this exception. However, when I set
logging level to warn and everything works fast I SOMETIMES get this exception. So it may be about timing???
Please, any help and hints....