ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath" <chamikar...@gmail.com>
Subject Re: Trying to make UserguidePingClient run
Date Sat, 23 Jun 2007 12:03:38 GMT
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 <cschumann@twp-llc.com> 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* <cschumann@twp-llc.com
> > <mailto:cschumann@twp-llc.com>> 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: sandesha-dev-unsubscribe@ws.apache.org
> >     <mailto:sandesha-dev-unsubscribe@ws.apache.org>
> >     For additional commands, e-mail: sandesha-dev-help@ws.apache.org
> >     <mailto:sandesha-dev-help@ws.apache.org>
> >
> >
> >
> >
> > --
> > 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

Mime
View raw message