3

I'm trying to use the Google Cloud Speech API to recognize speech.
I'm following the example code at

https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/speech/grpc

I already done with run mvn package but I can't find the com.google.cloud.speech.v1beta1 package that is used in the Spring MVC application.

Can resolve the com.google.cloud.speech.v1beta1 package

How i find this package or how i can use it in Spring MVC maven project ? Thanks.

Joris Schellekens
  • 8,483
  • 2
  • 23
  • 54
RObert_Duy
  • 41
  • 5

1 Answers1

1

You have missed the jar files.

For Eclipse user,

For this, you can go to your console. Then go to the project folder where pom.xml.

Then run this 2 command,

mvn eclipse:clean
mvn eclipse:eclipse

For intellij users,

full clean-up and restarting procedure:

  1. Close your project window (and IntelliJ) and remove all *.iml files and all .idea folders (there should be one per module)
  2. Run mvn clean install from the command line
  3. Re-import the project into IntelliJ and pay attention when it asks you to enable auto-import
Community
  • 1
  • 1
SkyWalker
  • 28,384
  • 14
  • 74
  • 132