Hi,
I'm a tester in China and i'm quite new with ROBOT. I'll try my best to explain the problem with my poor English:(
I write a Java Class to test a Java Project, and when i use jybot to run my test code, "NoClassDefFoundError"Problem occurs.
The Java Project is like this:
./main.jar
./lib/xxx.jar...(many jars,which main.jar relies on)
./config/xxxx.property(main.jar runs depends on this property file)
My Java Class is a independent code, it contains a test.java file, and a lib directory which main.jar and many other relied jars in the Java Project in it.
In the test.java file, it calls some functions or classes defined in main.jar, so i can do the Business Logic Testing.It runs successfully in Eclipse.
Then i add my test project directory to system environment variable classpath, take test.java as a liberary in robotframework, and run it with jybot.
But "NoClassDefFoundError" problem appears.
Please help me to know why this problem happens and how do i do to test the Java Project.Thanks:)
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/robotframework-users/-/9lKsWpzwdUkJ.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
Multiple path entries are separated by semi-colons. With the set command, it's important to omit spaces from around the equals sign (=).
The default class path is the current directory. Setting the CLASSPATH variable or using the -classpath command-line option overrides that default, so if you want to include the current directory in the search path, you must include "." in the new settings.
Classpath entries that are neither directories nor archives (.zip or .jar files) are ignored.