GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Class name which contain special character like '$' not added · Issue #2699 · googleapis/google-cloud-java

Class name which contain special character like '$' not added #2699

New issue
Copy link
New issue
Copy link
Closed
Closed
Class name which contain special character like '$' not added#2699
Copy link
Assignees
pongad
Labels
api: translationIssues related to the Cloud Translation API API.type: questionRequest for information or clarification. Not an issue.

Description

@AliChaudhry8
AliChaudhry8
opened on Dec 12, 2017
Issue body actions

I am not using your project.. I am using google cloud translate jar file in my project. I know this is not the place to ack question not related to this project but i need help.
when i add jar file in my lib folder in android studio the .class files which contain '$' sign in there name not added. And due to this when i run my project it gives error that this file is missing. The error is.

java.lang.NoClassDefFoundError: com.google.cloud.translate.TranslateOptions$TranslateDefaults
at com.google.cloud.translate.TranslateOptions.(TranslateOptions.java:147)
at com.google.cloud.translate.TranslateOptions.(TranslateOptions.java:39)
at com.google.cloud.translate.TranslateOptions$Builder.build(TranslateOptions.java:142)
at edu.nic.dell.naseemchatbot.ChatActivity.translateTextWithOptionsAndModel(ChatActivity.java:938)
at edu.nic.dell.naseemchatbot.ChatActivity$5.onClick(ChatActivity.java:272)
at android.view.View.performClick(View.java:4766)
at android.view.View$PerformClick.run(View.java:19683)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5538)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

Please help me out here. Thank you

Activity

  1. andreamlin commented on Dec 13, 2017

    @andreamlin
    andreamlin
    on Dec 13, 2017
    Contributor
    More actions

    Which version of google-cloud-translate are you using? Can you post your dependency tree, or pom.xml, or .gradle file?

  2. garrettjonesgoogle
    added
    api: translationIssues related to the Cloud Translation API API.
    type: questionRequest for information or clarification. Not an issue.
    on Dec 20, 2017
  3. pongad commented on Jan 22, 2018

    @pongad
    pongad
    on Jan 22, 2018
    Contributor
    More actions

    I'll close this for inactivity. That said, I believe the classes are in the JAR as of the latest release. I downloaded the JAR from Maven and

    zipinfo ~/Downloads/google-cloud-translate-1.15.0.jar | grep TranslateOp
    -rw-r-----  2.0 unx     6472 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions.class
    -rw-r-----  2.0 unx     1895 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions$TranslateDefaults.class
    -rw-r-----  2.0 unx      250 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions$1.class
    -rw-r-----  2.0 unx     3607 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions$Builder.class
    -rw-r-----  2.0 unx     1716 bl defN 18-Jan-17 16:20 com/google/cloud/translate/Translate$TranslateOption.class
    -rw-r-----  2.0 unx     1289 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions$DefaultTranslateRpcFactory.class
    -rw-r-----  2.0 unx     1255 bl defN 18-Jan-17 16:20 com/google/cloud/translate/TranslateOptions$DefaultTranslateFactory.class
    

    which suggests that the JAR has the class you're looking for.

  4. pongad
    closed this as completedon Jan 22, 2018
  5. JustinBeckwith
    assigned
    pongad
    on Feb 1, 2021
  6. chingor13
    added a commit that references this issue on Feb 20, 2026

    fix: add stream name to every request when connection is created duri…

    c53a77c
  7. chingor13
    added 3 commits that reference this issue on Mar 24, 2026

    feat: [common-protos] add `Weight` to common types for Shopping APIs …

    90a28ef

    chore(main): release 2.40.0 (#2679)

    32ebbe1

    feat: adds integration tests for Universe Domain configuration (#2699)

    b4d3383
  8. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore(main): release 1.149.0 (#2699)

    d263eef

    chore(main): release 1.149.0 (#2699)

    ff01641
  9. rahul2393
    added a commit that references this issue on May 21, 2026

    chore: Update generation configuration at Tue Nov 18 02:37:28 UTC 2025 (

    0e5f6d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pongad
    pongad

Labels

api: translationIssues related to the Cloud Translation API API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.