Issue 7693 in selenium: What the blankety blank is "Function" and where do I find It?

0 views
Skip to first unread message

sele...@googlecode.com

unread,
Jul 31, 2014, 11:15:01 AM7/31/14
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 7693 by godallmi...@gmail.com: What the blankety blank
is "Function" and where do I find It?
http://code.google.com/p/selenium/issues/detail?id=7693

Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.

Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
to help.

What steps will reproduce the problem?
1. Add selenium java 2.0 libraries to jdev 11b project as user library
2. Add a simple test class with main
3. try to run

What is the expected output? What do you see instead?

Expected that the Firefox Driver would open
Got the following class load exception instead

C:\Software\jdk160_24\bin\javaw.exe -client -classpath
C:\JDeveloper\mywork\SeleniumDemo\.adf;C:\JDeveloper\mywork\SeleniumDemo\SeleniumDemo\classes;C:\Software\Selenium\selenium-java-2.42.2.jar;C:\Software\Selenium\libs
-Djavax.net.ssl.trustStore=C:\Software\wlserver_10.3\server\lib\DemoTrust.jks
seleniumdemo.demo
Exception in thread "main" java.lang.NoClassDefFoundError:
com/google/common/base/Function
at seleniumdemo.demo.main(demo.java:16)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
... 1 more
Process exited with exit code 1.



Selenium version:
OS:
Browser:
Browser version:


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Jul 31, 2014, 12:22:48 PM7/31/14
to selenium-develope...@googlegroups.com

Comment #1 on issue 7693 by godallmi...@gmail.com: What the blankety blank
is "Function" and where do I find It?
http://code.google.com/p/selenium/issues/detail?id=7693

This turned out to be a jdev problem. For future reference:

To add the selenium web drivers to jdev:

1) create a user library using the selenium object jar file as class,
selenium source jar as sources. Name it for example, Selenium
2) create a user library using the Selenium libs driectory. Select all the
jars in the directory as class. Name it SeleniumExtra, for example.
3) Use these created user libraries in your jdev project

sele...@googlecode.com

unread,
Jul 31, 2014, 3:58:28 PM7/31/14
to selenium-develope...@googlegroups.com
Updates:
Status: Invalid

Comment #2 on issue 7693 by barancev: What the blankety blank is "Function"
Download and use selenium-server-standalone.jar that includes all
dependencies.

http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar
Reply all
Reply to author
Forward
0 new messages