0

I have this error in my application, but it doesn't say much about the source of error.

ERROR [stderr] Exception in thread java.lang.RuntimeException: 
org.jboss.weld.exceptions.UnsatisfiedResolutionException: WELD-001308: 
Unable to resolve any beans for Type: interface 
org.jboss.weld.context.http.HttpSessionContext; Qualifiers: []

In what scenarios this error might occur?

  • Java - 8

  • Wildfly 10.1.0

  • Ubuntu 16.04

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
fareed
  • 3,034
  • 6
  • 37
  • 65
  • 2
    Weld cannot find one of its very own beans. Sounds like classpath pollution with multiple different versioned Weld libraries. You'd better create a minimal reproducer project from scratch which demonstrates this problem. Remember that WildFly already ships with its own Weld library. – BalusC Feb 12 '18 at 07:52
  • Also, are you seeing this from an injection point in your own code? Perhaps you could include some of your start up logs as well. – John Ament Feb 12 '18 at 12:12
  • I have not included any weld libraries, I'm using Widlfly's shipped libraries. I have upgraded to widlfly 11.0.0 and it seems the problem is gone. – fareed Feb 12 '18 at 23:21

0 Answers0