Skip to content

Compiler #763

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

Closed
trishav96 opened this issue Jul 21, 2017 · 4 comments
Closed

Compiler #763

trishav96 opened this issue Jul 21, 2017 · 4 comments
Assignees

Comments

@trishav96
Copy link

In which file did you encounter the issue?

I'm trying to run the QuicksampleStart file. I did it on Eclipse. it gives these errors:

Did you change the file? If so, how?

Describe the issue

Exception in thread "main" java.lang.Error: Unresolved compilation problems:
SpeechClient cannot be resolved to a type
SpeechClient cannot be resolved
ByteString cannot be resolved to a type
ByteString cannot be resolved
RecognitionConfig cannot be resolved to a type
RecognitionConfig cannot be resolved
AudioEncoding cannot be resolved to a variable
RecognitionAudio cannot be resolved to a type
RecognitionAudio cannot be resolved
RecognizeResponse cannot be resolved to a type
SpeechRecognitionResult cannot be resolved to a type
SpeechRecognitionResult cannot be resolved to a type
SpeechRecognitionAlternative cannot be resolved to a type
SpeechRecognitionAlternative cannot be resolved to a type

at speechTest.QuickstartSample.main(QuickstartSample.java:25)
@gguuss
Copy link
Contributor

gguuss commented Jul 26, 2017

How are you installing the dependencies, e.g. are you running the following command:

mvn clean compile assembly:single

and

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/service.json
export GCLOUD_PROJECT=YOUR_PROJECT_ID

Before running

mvn integration-test

I recommend you try building / running from the command line using the instructions in README.MD to get to a working state before trying to configure your IDE for execution.

@trishav96
Copy link
Author

I didn't do any of that

@gguuss
Copy link
Contributor

gguuss commented Aug 1, 2017

@trishav96 Please try following the instructions for building the sample using Maven. If you must build the sample using Eclipse, the following settings will help:

  • Edit your maven build configurations by clicking the Green Run button
    Run menu

  • Add a configuration for building
    Build configuration

  • Add a configuration for running
    Run configuration

Note that for the Maven extension to work, you must have Eclipse configured to find the JAVA_HOME environment variable as appropriate.

@nnegrey
Copy link
Contributor

nnegrey commented Dec 5, 2018

This appears to have been resolved. Please feel free to reopen if this is not true. :)

@nnegrey nnegrey closed this as completed Dec 5, 2018
anguillanneuf pushed a commit that referenced this issue Nov 15, 2022
…1.1 (#763)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `24.1.0` -> `24.1.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/compatibility-slim/24.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.1.1/confidence-slim/24.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-intelligence).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants