Hi Ram,
this mailing list is actually for the developers. Please use
https://groups.google.com/g/wildfly/ to ask user questions questions.
You use "javax.inject.Inject". As WildFly 27 and newer supports only
JakartaEE10, you should probably change it to "jakarta.inject.Inject" or
similar. Hopefully this fixes the error.
Best regards
Wolfgang
Am 08.08.23 um 02:26 schrieb Ramamoorthy Krishna Reddy:
> I'm upgrading project from WF12 to W26.1.3. I was able to build and deploy to my
local dev and don't see any issues. When it moved to higher environment I'm
getting following error,
>
> "(DeploymentScanner-threads - 1) WFLYCTL0013: Operation (\"deploy\")
failed - address: ([(\"deployment\" => \"ContentStream.war\")]) -
failure description: {\"WFLYCTL0080: Failed services\" =>
{\"jboss.deployment.unit.\\\"ContentStream.war\\\".WeldStartService\"
=> \"Failed to start service\n Caused by:
org.jboss.weld.exceptions.DeploymentException: Exception List with 2
exceptions:\nException 0 :\norg.jboss.weld.exceptions.DeploymentException: WELD-001408:
Unsatisfied dependencies for type MetadataResultService with qualifiers @Default\n at
injection point [UnbackedAnnotatedField] @Inject private
com.test.metadata.rest.MetadataResultResourceV1.metadataResultService\n\nException 1
:\norg.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies
for type PingDetailService with qualifiers @Default\n at injection point
[UnbackedAnnotatedField] @Inject
com.test.ping.rest.PingDetailResourceV1.pingDetailService\n\n\"}}",
> "logtype":"wildfly-main-filteredlog",
>
> Please find the piece of code here,
> import javax.inject.Inject;
>
> @Path("/v1/ping")
> @Api(value = "/v1/ping", tags = "Ping Details")
> public class PingDetailResourceV1 extends CommonResource {
>
> /** The ProductDetailService. */
> @Inject
> PingDetailService pingDetailService;
>
> Please suggest me if I'm missing something here.
>
> Thanks,
> Ram
> _______________________________________________
> wildfly-dev mailing list -- wildfly-dev(a)lists.jboss.org
> To unsubscribe send an email to wildfly-dev-leave(a)lists.jboss.org
> Privacy Statement:
https://www.redhat.com/en/about/privacy-policy
> List Archives:
https://lists.jboss.org/archives/list/wildfly-dev@lists.jboss.org/message...