Giter Club home page Giter Club logo

Comments (6)

tswast avatar tswast commented on May 17, 2024

Those classes are generated by the AutoValue plugin. If you are using Maven it should just work.

from java-docs-samples.

tswast avatar tswast commented on May 17, 2024

Were you able to figure it out? Which IDE are you using?

from java-docs-samples.

junyongyou avatar junyongyou commented on May 17, 2024

Sorry not to respond earlier. I actually did not figure it out. I have installed Maven, and it works. I am using Intellij IDEA, but the two classes cannot be generated. Is there something I need to config further? Thanks a lot for your help.
BTW, I can use other Vision modules, such as labelling, face detection.

from java-docs-samples.

tswast avatar tswast commented on May 17, 2024

Sorry about this (someone else reported privately to me the same issue). I am not seeing an IntelliJ plugin for AutoValue listed here https://github.com/google/auto/blob/master/value/userguide/index.md I only see instructions for Gradle and Maven. I'll update the sample to remove AutoValue references.

from java-docs-samples.

scurrent avatar scurrent commented on May 17, 2024

I seem to be having the same problem as junyoungyou.
Running Eclipse, using Maven, and the sample Vision project won't compile because it cannot find:
AutoValue_ImageText or AutoValue_Word

from java-docs-samples.

tswast avatar tswast commented on May 17, 2024

There is a work-around for using AutoValue with IntelliJ if you enable a setting to delegate to Maven for annotation processing.

image

That said, I have removed references to AutoValue from the sample code in #439. After that is merged into master, you should not encounter this problem anymore.

from java-docs-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.