Skip to content

Support latest guice version with jakarta API #277

@genazenko

Description

@genazenko

Hi! We have a problem when trying to use java library in the application with the latest guice version (7.0.0). In that case we are getting an error when trying to initialize AdManagerServices

[Guice/MissingConstructor]: No injectable constructor for type AdsAxisEngineConfigurationFactory.

class AdsAxisEngineConfigurationFactory does not have a @Inject annotated constructor or a no-arg constructor.

Requested by:
1  : AdsAxisEngineConfigurationFactory.class(AdsAxisEngineConfigurationFactory.java:34)
     at AxisModule.configure(AxisModule.java:58)
      \_ installed by: AdManagerAxisModule -> AxisModule

Current version of java library is using 5.0.1 version of guice with an javax.inject.Inject annotation. But the latest version of guice is using jakarta.inject.Inject annotation.

Could you please upgrade java library in order to support jakarta API and the latest guice version?

We are using com.google.api-ads:ads-lib:5.0.0 and com.google.api-ads:dfp-axis:5.0.0 libraries with guice 7.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions