Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12886

WELD-000119: Not generating any bean definitions from..class loading error: Type java.net.http.HttpClient

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not a Bug
    • Minor
    • None
    • 17.0.1.Final
    • CDI / Weld
    • None

    Description

      I get this info when starting wildfly server:

      01:33:09,168 INFO  [org.jboss.weld.Bootstrap] WELD-000119: Not generating any bean definitions from com.utils.WebUtils because of underlying class loading error: Type java.net.http.HttpClient from [Module "deployment.myapp.war" from Service Module Loader] not found. 
      

      My WebUtils.class imports:

      import java.net.URI;
      import java.net.http.HttpClient;
      import java.net.http.HttpRequest;
      import java.net.http.HttpResponse.BodyHandlers;
      

      Should I include java se module by myself in wildfly to remove this log?

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            nimo22 nimo stephan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: