Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

java.lang.noclassdeffounderror: com/google/common/base/function - How can I resolve this error?

Asked by Anil Mer Feb 11, 2022 757 views 1 answer
Share

About this question

 I am getting this error although I have added all the libraries and dependencies as jar files.


Error shows like this : Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Function  at chrome_browsertest.main(chrome_browsertest.java:10) Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function


    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 1 more


What should I do? 

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.