URGENTLY YOUR HELP NEEDED...

You want to host your own data and need help?
POLISETTY

URGENTLY YOUR HELP NEEDED...

Beitragvon POLISETTY » 26 Apr 2006, 17:16

HELLO ALL,

i am anil. i am using j2se1.5windows_update6.0 and TvStarterKit2.02 on Windows Xp with SP2. when i am going to run SimplePDS.class i am getting problems like below...

C:\TvDataStarterKit-2.02\workspace\java>java -jar PDSRunner.jar -raw raw -log lo
g SimplePDS
Exception in thread "main" primarydatamanager.PreparationException: Primary data
service class does not exist: SimplePDS
at primarydatamanager.PrimaryDataManager.createPrimaryDataService(Primar
yDataManager.java:207)
at primarydatamanager.PDSRunner.main(PDSRunner.java:166)
Caused by: java.lang.ClassNotFoundException: SimplePDS
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at primarydatamanager.PrimaryDataManager.createPrimaryDataService(Primar
yDataManager.java:204)
... 1 more

C:\TvDataStarterKit-2.02\workspace\java>

Actually this is Exception.
First underline says missing of Primary data service class. But it was presented in
PDSRunner.jar file.
And for second underline I have seen a code like….

public static PrimaryDataService createPrimaryDataService(String className)
throws PreparationException
{
Class clazz;

if (className.startsWith(".")) {
className="primarydatamanager.primarydataservice.secret"+className;
}
.
.
.
.
}
in PrimaryDataService.java which is presented in primarydatamanager.primarydatasource package.
This code was downloaded from sourceforge.net
If I am going to compile the code of that (PrimaryDataService.java) I am getting
nearly 100 errors. From that I found some packages were missed which r going to cause thse errors.
For example:
C:\TvDataStarterKit-2.02\workspace\java\tvbrowser\TVBrowser.java:74: package com
.l2fprod.gui.plaf.skin does not exist
Import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;

But I didn’t get l2fprod package in com package.

If we leave all these, we have a class file of that in PDSRunner.jar
Still we are getting errors.
So please help me to run example file i.e SimplePDS.java in that kit.

if anybody feels the approach is not correct , then guide me to right direction.
and also tell me is there any need to place jarfile in path variable?

and please help to get it done.

thank all for listen my problem.
if u didnot understood any thing then mail me.

p.anil kumar,
software Engineer-Trainee.
+91-9849068908,
anil.polisetty@gaiansolutions.com.

Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Beitragvon bodo » 26 Apr 2006, 17:20

Please stop posting in new Threads. It would be great if we can continue the Discussion *after* you read my Message in this Thread:
http://hilfe.tvbrowser.org/viewtopic.php?t=3591

There you will find a better explanation of the System.

And please reply *only* in that Thread. Thank you.


Zurück zu „Host your own data“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast