Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java - cannot find symbol: class BaseRequestBuilder #2482

Closed
andreaTP opened this issue Mar 29, 2023 · 6 comments · Fixed by microsoft/kiota-java#265
Closed

Java - cannot find symbol: class BaseRequestBuilder #2482

andreaTP opened this issue Mar 29, 2023 · 6 comments · Fixed by microsoft/kiota-java#265
Assignees
Milestone

Comments

@andreaTP
Copy link
Contributor

Following up from #2459

Currently, all of the Java IT tests are broken due to this issue.

@baywet baywet self-assigned this Mar 29, 2023
@baywet baywet added this to Kiota Mar 29, 2023
@github-project-automation github-project-automation bot moved this to Todo in Kiota Mar 29, 2023
@baywet baywet added this to the Backlog milestone Mar 29, 2023
@baywet baywet added type:bug A broken experience WIP and removed question labels Mar 29, 2023
@baywet baywet moved this from Todo to In Progress in Kiota Mar 29, 2023
@baywet
Copy link
Member

baywet commented Mar 29, 2023

Thanks for calling us out on this one. It looks like we never published the version that contains the base request builder. Working on it now, it should be up in the next 30 minutes or so, version number 0.4.0

@baywet
Copy link
Member

baywet commented Mar 29, 2023

well... allow some buffer time. We're impacted by this
image
https://www.githubstatus.com/#

@andreaTP
Copy link
Contributor Author

Thanks, @baywet for staying on top of this!

@baywet
Copy link
Member

baywet commented Mar 29, 2023

libs are published.

@andreaTP
Copy link
Contributor Author

Using Kiota-java 0.4.0 the error becomes:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project kiota-basic-test: Compilation failure
[ERROR] /Users/aperuffo/workspace/kiota/it/java/basic/src/main/java/ApiClient.java:[33,9] no suitable constructor found for BaseRequestBuilder(com.microsoft.kiota.RequestAdapter,java.lang.String)
[ERROR]     constructor com.microsoft.kiota.BaseRequestBuilder.BaseRequestBuilder(com.microsoft.kiota.RequestAdapter,java.lang.String,java.util.HashMap<java.lang.String,java.lang.Object>) is not applicable
[ERROR]       (actual and formal argument lists differ in length)
[ERROR]     constructor com.microsoft.kiota.BaseRequestBuilder.BaseRequestBuilder(com.microsoft.kiota.RequestAdapter,java.lang.String,java.lang.String) is not applicable
[ERROR]       (actual and formal argument lists differ in length)

@baywet
Copy link
Member

baywet commented Mar 29, 2023

Ah I had changed the visibility of one of the constructors. microsoft/kiota-java#265

@github-project-automation github-project-automation bot moved this from In Progress to Done in Kiota Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants