You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** Please make sure you read the contribution guide and file the issues in the right place. ** Contribution guide.
Describe the bug
I have followed the Java instructions for installing the Java ADK using Maven and creating a Java class "MultiToolAgent.java" and compiled successfully and successfully ran the maven command with the "exec:java" option and can see the UX, but it shows errors.
To Reproduce
Steps to reproduce the behavior:
Install 'ADK via Maven dependency'
Create MultiToolAgent.java
Run 'mvn clean compile' and then 'mvn exec:java
-Dexec.mainClass="com.google.adk.web.AdkWebServer"
-Dexec.args="--adk.agents.source-dir=src/main/java"
-Dexec.classpathScope="compile" '
Open 'browser to localhost:8080'
See error Expected behavior
Doesn't have any agents in dropdown to select agent, and get error message to run "adk web" but it isn't clear where the adk binary or agents is located. I have searched and not found it.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Hi John, can you please show us what the MultiToolAgent class looks like?
Also can you have a look at the logs of the Dev UI and share what you see there? (I suppose it says it loaded 0 agents, but maybe there's some more information)
@ksengupta78 Can you please give some details about your project?
What does your source tree look like, where is located your agent class, what command line do you launch, etc.
Thank you.
Activity
glaforge commentedon May 23, 2025
Hi John, can you please show us what the
MultiToolAgentclass looks like?Also can you have a look at the logs of the Dev UI and share what you see there? (I suppose it says it loaded 0 agents, but maybe there's some more information)
vorburger commentedon May 23, 2025
@johnmdesjardins I'm curious if you are also seeing this problem locally if you clone and
./run.shthe (my) https://github.com/enola-dev/LearningADK/tree/main/quickstart, which is a minimal example based on (only) the Quickstart? I'm unable to reproduce the issue you are reporting about with that.cornellgit commentedon May 24, 2025
-Dexec.args="--adk.agents.source-dir=src/main/java"Does this match your MultiAgent location?
glaforge commentedon Jun 23, 2025
Hi @johnmdesjardins, did you manage to solve your issue?
Did our answers help?
vorburger commentedon Jul 20, 2025
@johnmdesjardins OK for you if this issue is closed?
vorburger commentedon Aug 25, 2025
@johnmdesjardins we're closing this issue after not having heard back from you within 5 weeks.
kaustav-sengupta-se commentedon Oct 27, 2025
I have the same issue
glaforge commentedon Oct 27, 2025
@ksengupta78 Can you please give some details about your project?
What does your source tree look like, where is located your agent class, what command line do you launch, etc.
Thank you.