[JBoss JIRA] (WFLY-12886) WELD-000119: Not generating any bean definitions from..class loading error: Type java.net.http.HttpClient
by Matěj Novotný (Jira)
[ https://issues.redhat.com/browse/WFLY-12886?page=com.atlassian.jira.plugi... ]
Matěj Novotný commented on WFLY-12886:
--------------------------------------
bq. I dont know why weld is needed for a normal static class.
Aren't you using empty {{beans.xml}}? Because in that case a CDI discovery mode {{all}} is used and Weld will try to convert all possible classes into beans meaning it will attempt to do just that for your {{WebTool}} class as well.
> WELD-000119: Not generating any bean definitions from..class loading error: Type java.net.http.HttpClient
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFLY-12886
> URL: https://issues.redhat.com/browse/WFLY-12886
> Project: WildFly
> Issue Type: Enhancement
> Components: CDI / Weld
> Affects Versions: 17.0.1.Final
> Reporter: nimo stephan
> Assignee: Matěj Novotný
> Priority: Minor
>
> I get this info when starting wildfly server:
> {code:java}
> 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.
> {code}
> My WebUtils.class imports:
> {code:java}
> import java.net.URI;
> import java.net.http.HttpClient;
> import java.net.http.HttpRequest;
> import java.net.http.HttpResponse.BodyHandlers;
> {code}
> Should I include java se module by myself in wildfly to remove this log?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months
[JBoss JIRA] (WFLY-9489) Remove need for application-security-domain mapping
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFLY-9489?page=com.atlassian.jira.plugin... ]
Darran Lofthouse reassigned WFLY-9489:
--------------------------------------
Assignee: (was: Darran Lofthouse)
> Remove need for application-security-domain mapping
> ---------------------------------------------------
>
> Key: WFLY-9489
> URL: https://issues.redhat.com/browse/WFLY-9489
> Project: WildFly
> Issue Type: Feature Request
> Components: Web (Undertow)
> Affects Versions: 11.0.0.Final
> Reporter: Darran Lofthouse
> Priority: Major
>
> The application-security-domain resource was added to map from the security domain specified within the deployment to a WildFly Elytron authentication factory with some additional related configuration.
> It should be possible to define all of this within a deployment descriptor.
> Additionally the subsystem includes a default-security-domain attribute, it should likely contain some default Elytron configuration options.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 5 months