You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Shiva Kumar H R (JIRA)" <ji...@apache.org> on 2009/07/11 11:56:15 UTC

[jira] Created: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
----------------------------------------------------------------------------

                 Key: WINK-74
                 URL: https://issues.apache.org/jira/browse/WINK-74
             Project: Wink
          Issue Type: Bug
          Components: Examples
            Reporter: Shiva Kumar H R


When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient

build.xml in "examples\client\GoogleDocs-client" has:
<attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
...<java classname="org.apache.wink.example.GoogleDocsClient">

These should instead be:
<attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Shiva Kumar H R (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729965#action_12729965 ] 

Shiva Kumar H R commented on WINK-74:
-------------------------------------

examples\readme.txt file doesn't mention about this sample. Shouldn't it be listed under "3. "client" module contains Wink client examples" ?

> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Shiva Kumar H R (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730045#action_12730045 ] 

Shiva Kumar H R commented on WINK-74:
-------------------------------------

Thanks Bryant.

> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>            Assignee: Bryant Luk
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730044#action_12730044 ] 

Hudson commented on WINK-74:
----------------------------

Integrated in Wink-Trunk-JDK15 #21 (See [http://hudson.zones.apache.org/hudson/job/Wink-Trunk-JDK15/21/])
    Fixes for GoogleDocsClient example

See []


> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>            Assignee: Bryant Luk
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryant Luk resolved WINK-74.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.1

Please re-open if this is still an issue.

> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>            Assignee: Bryant Luk
>             Fix For: 0.1
>
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on WINK-74 started by Bryant Luk.

> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>            Assignee: Bryant Luk
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WINK-74) examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong

Posted by "Bryant Luk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WINK-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryant Luk reassigned WINK-74:
------------------------------

    Assignee: Bryant Luk

I'll make the suggested fixes.  However, looking at the Ant script in the client, I don't believe there's any way to pass in the command line arguments.

> examples\client\GoogleDocs-client doesn't run: Main-Class specified is wrong
> ----------------------------------------------------------------------------
>
>                 Key: WINK-74
>                 URL: https://issues.apache.org/jira/browse/WINK-74
>             Project: Wink
>          Issue Type: Bug
>          Components: Examples
>            Reporter: Shiva Kumar H R
>            Assignee: Bryant Luk
>
> When the built jar "GoogleDocs-client.jar" is run, it fails with below error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/wink/example/GoogleDocsClient
> build.xml in "examples\client\GoogleDocs-client" has:
> <attribute name="Main-Class" value="org.apache.wink.example.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.GoogleDocsClient">
> These should instead be:
> <attribute name="Main-Class" value="org.apache.wink.example.googledocs.GoogleDocsClient" />
> ...<java classname="org.apache.wink.example.googledocs.GoogleDocsClient">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.