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?

