Can not debug java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions

后端 未结 3 648
忘了有多久
忘了有多久 2021-01-28 08:41

I am trying to make an applet for uploading files to openstack swift using jclouds. And I am facing the NoClassDefFoundError, following is the stacktrace:

Except         


        
相关标签:
3条回答
  • 2021-01-28 08:43

    I suggest printing out what's on your classpath from within your app (see this answer). That way you'll know exactly what classpath your app is using, if there's anything missing or any collisions.

    0 讨论(0)
  • 2021-01-28 09:09

    Problem is solved now. It was a mistake between guice 3.0 and guice-3.0.0, because both are having the same maven artifact-id but group-id was different.

    0 讨论(0)
  • 2021-01-28 09:09

    enter image description here

    Open the property of your project and add a dependency library.

    0 讨论(0)
提交回复
热议问题