Place of the client class should be,

classes/sandesha2/samples/userguide/UserGuidePingClient.java



On 6/23/07, Chamikara Jayalath <[EMAIL PROTECTED]> wrote:

Hi Chris,

Since this class has a package.

move to the classes folder.
Make sure that ur CLASSPATH includes the current directory and all other
needed jars.
run it with the command,
java sandesha2.samples.userguide.UserGuidePingClient

Chamikara


On 6/23/07, Chris Schumann <[EMAIL PROTECTED]> wrote:
>
> Hi Chamikara,
>
> No. I ran it this way:
> $ java UserguidePingClient
> just as I wrote in my first note.
>
> The first line of the given UserguidePingClient.java file is this:
> package sandesha2.samples.userguide ;
> And that makes me think the .class file has to be in a certain
> directory.
>
> Chris
>
>
> Chamikara Jayalath wrote:
> > Hi Chris,
> >
> > Dont think I fully got this. Did u run it as,
> > java sandesha2.samples.userguide.UserGuidePingClient ?
> >
> > Chamikara
> >
> >
> >
> > On 6/21/07, * Chris Schumann* <[EMAIL PROTECTED]
> > <mailto: [EMAIL PROTECTED]>> wrote:
> >
> >     Hey all,
> >
> >     I've got the RMSS running, and reporting fine on the services web
> >     page. I
> >     can compile the UserguidePingClient.java file after replacing the
> >     CLIENT_REPO_PATH, but when I run the code (with "java
> >     UserguidePingClient"), I get a
> >
> >     java.lang.NoClassDefFoundError : UserguidePingClient (wrong name
> >     sandesha2/samples/userguide/UserguidePingClient).
> >
> >     Do I need to adjust the "package" line at the top of the file?
> >
> >     Thanks,
> >     Chris
> >     (again, new to Java and web services, but not new to programming)
> >
> >
> >
> >
> ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
> >     For additional commands, e-mail: [EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED] >
> >
> >
> >
> >
> > --
> > Chamikara Jayalath
> > WSO2 Inc.
> > http://wso2.com/
> > http://wso2.org/ - For your Oxygen needs
>
>


--
Chamikara Jayalath
WSO2 Inc.
http://wso2.com/
http://wso2.org/ - For your Oxygen needs




--
Chamikara Jayalath
WSO2 Inc.
http://wso2.com/
http://wso2.org/ - For your Oxygen needs

Reply via email to