java.lang.NoClassDefFoundError: Could not initialize class java.awt.Component

Ask Ubuntu | user94143 | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola , poroszd and rafael . Or join the community to write better ones.
  1. 0

    Trouble installing Matlab due to java.lang.NoClassDefFoundError - Ask Ubuntu

    askubuntu.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Component
  2. 0

    Trouble installing Matlab due to java.lang.NoClassDefFoundError

    Ask Ubuntu | 4 years ago | user94143
    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Component
  3. 0
    samebug tip
    org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Upgrade play-plugins-redis to play-modules-redis. You may have to delete com.typesafe.plugin.RedisPlugin from play.plugins
  6. 0
    samebug tip
    You might have to readd your libraries if you just upgraded intelliJ. Try readding the netty library to the SDK.
    via GitHub by EBatTiVo
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Could not initialize class java.awt.Component

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Unknown Source)
    2 frames
  3. Unknown
    $Proxy11.<clinit>
    1. $Proxy11.<clinit>(Unknown Source)
    1 frame
  4. Java RT
    Proxy.newProxyInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    5. java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
    5 frames
  5. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.ConstructionContext.createProxy(ConstructionContext.java:81)
    2. com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:70)
    3. com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    4. com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    5. com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    6. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    7. com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    8. com.google.inject.Scopes$1$1.get(Scopes.java:54)
    9. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    10. com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    11. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    12. com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    13. com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
    14. com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
    15. com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
    16. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    17. com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    18. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    19. com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    20. com.google.inject.Scopes$1$1.get(Scopes.java:54)
    21. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    22. com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    23. com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    24. com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    25. com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    26. com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    27. com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    28. com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    29. com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    30. com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    31. com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    32. com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    33. com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    34. com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    35. com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    36. com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    37. com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    38. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    39. com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    40. com.google.inject.Scopes$1$1.get(Scopes.java:54)
    41. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    42. com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    43. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    44. com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    45. com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
    46. com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:89)
    47. com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:95)
    48. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    49. com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    50. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    51. com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    52. com.google.inject.Scopes$1$1.get(Scopes.java:54)
    53. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    54. com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42)
    55. com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66)
    56. com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84)
    57. com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111)
    58. com.google.inject.FactoryProxy.get(FactoryProxy.java:56)
    59. com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
    60. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811)
    61. com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
    62. com.google.inject.Scopes$1$1.get(Scopes.java:54)
    63. com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48)
    64. com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758)
    65. com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804)
    66. com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754)
    67. com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793)
    67 frames
  6. com.mathworks.wizard
    AbstractLauncher.launchStandalone
    1. com.mathworks.wizard.WizardLauncher.startWizard(WizardLauncher.java:160)
    2. com.mathworks.wizard.WizardLauncher.start(WizardLauncher.java:75)
    3. com.mathworks.wizard.AbstractLauncher.launch(AbstractLauncher.java:27)
    4. com.mathworks.wizard.AbstractLauncher.launchStandalone(AbstractLauncher.java:18)
    4 frames
  7. com.mathworks.studentinstaller
    Launcher.main
    1. com.mathworks.studentinstaller.Launcher.main(Launcher.java:23)
    1 frame