Runtime java errors

I'm working in a web development project using epp-rtk-java. I compiled my java classes and all went fine. When I run the application on a tomcat server I get the following error

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: com/tucows/oxrs/epprtk/rtk/EPPClient

dominio.EPPClass.<init>(EPPClass.java:27)

dominio.Index.doPost(Index.java:23)

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Then I tried to run a complete new application outside tomcat server but again, the compilation went fine, but when I run the class I get the following error

Exception in thread "main" java.lang.NoClassDefFoundError: test

and source code of test.java is

publicclass test

{

public test(){}

publicstaticvoid main(String[] args)

{

prueba datos =new prueba();

datos.Login();

}

};

The command I use for runningt the class is

java -Dssl.props.location<path to /java/ssl> -Drtk.props.file=<path to rtk.properties> -cp <path to epp-rtk-java, xerces.jar, epp-rtk-java.jar, regexp.jar log4.jar and bcprov-jdk14-115.jar> test

I already check the path for each file needed and they are fine.

I also try to run the epp-rtk-java examples but I get the same error.

I don't know if the problem is the software(epp-rtk-java), a bug in java, or I'm just doing something wrong. Does someone know what the problem could be?

[2204 byte] By [zd_oma] at [2007-10-2 19:36:19]
# 1

> Exception in thread "main"

> java.lang.NoClassDefFoundError: test

The error tells you what it can't find.

> The command I use for runningt the class is

>

> java -Dssl.props.location<path to /java/ssl>

> -Drtk.props.file=<path to rtk.properties> -cp <path

> to epp-rtk-java, xerces.jar, epp-rtk-java.jar,

> regexp.jar log4.jar and bcprov-jdk14-115.jar> test

And what directory is 'test' in? It MUST be in one of the directories that you specified.

Your other error is basically the same. Your class path must contain the correct information.

jschella at 2007-7-13 21:24:44 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
Problem solved!Thanks again.Message was edited by: fabiokazahaya@gmail.com
fabiokazahaya@gmail.coma at 2007-7-13 21:24:44 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...