MarkusBernhardt / robotframework-selenium2library-java

Java port of the Selenium 2 (WebDriver) Python library for Robot Framework
Apache License 2.0
46 stars 48 forks source link

Javadoc2Libdoc Get NullStream when using -P to run robotframework #62

Open frank007love opened 9 years ago

frank007love commented 9 years ago

When I use the below command to import Selenium2Library, and I will get ExceptionInInitializerError java -jar "$BASEPATH/robotframework.jar" -P $BASEPATH/javalib/robotframework-selenium2library.jar "$@"

And it works when I replace -P with -cp to launch Robotframework: java -cp $BASEPATH/robotframework.jar:$BASEPATH/javalib/* org.robotframework.RobotFramework "$@"

It seems a ClassLoader problem.

There's a same problem on Robotframework user group: https://groups.google.com/forum/#!topic/robotframework-users/tJjeZm0JEE0