java.lang.NoClassDefFoundError

Atlassian JIRA | sriharsha Bhat | 8 years ago
  1. 0

    Hi, I am getting below exception from the Java client code which is written to fetch the Groups exists in the crowd. Exception in thread "main" java.lang.NoClassDefFoundError at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.class$(DefaultTypeMappingRegistry.java:64) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:399) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:304) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:130) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118) at org.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:66) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.codehaus.xfire.service.binding.ObjectServiceFactory.getBindingProvider(ObjectServiceFactory.java:161) at org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInParameterName(DefaultServiceConfiguration.java:160) at org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterName(ObjectServiceFactory.java:1044) at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(ObjectServiceFactory.java:798) at org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:742) at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:426) at com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.getSecurityServer(SecurityServerClientImpl.java:69) at com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.searchGroups(SecurityServerClientImpl.java:279) Please let me know if you require any details

    Atlassian JIRA | 8 years ago | sriharsha Bhat
    java.lang.NoClassDefFoundError
  2. 0

    Hi, I am getting below exception from the Java client code which is written to fetch the Groups exists in the crowd. Exception in thread "main" java.lang.NoClassDefFoundError at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.class$(DefaultTypeMappingRegistry.java:64) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:399) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:304) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:130) at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118) at org.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:66) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.codehaus.xfire.service.binding.ObjectServiceFactory.getBindingProvider(ObjectServiceFactory.java:161) at org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInParameterName(DefaultServiceConfiguration.java:160) at org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterName(ObjectServiceFactory.java:1044) at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(ObjectServiceFactory.java:798) at org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:742) at org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:426) at com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.getSecurityServer(SecurityServerClientImpl.java:69) at com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.searchGroups(SecurityServerClientImpl.java:279) Please let me know if you require any details

    Atlassian JIRA | 8 years ago | sriharsha Bhat
    java.lang.NoClassDefFoundError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      No message provided

      at org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.class$()
    2. XFire
      AegisBindingProvider.<init>
      1. org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.class$(DefaultTypeMappingRegistry.java:64)
      2. org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:399)
      3. org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:304)
      4. org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:130)
      5. org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:118)
      6. org.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:66)
      6 frames
    3. Java RT
      Class.newInstance
      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.Class.newInstance0(Unknown Source)
      6. java.lang.Class.newInstance(Unknown Source)
      6 frames
    4. XFire
      ObjectServiceFactory.create
      1. org.codehaus.xfire.service.binding.ObjectServiceFactory.getBindingProvider(ObjectServiceFactory.java:161)
      2. org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInParameterName(DefaultServiceConfiguration.java:160)
      3. org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterName(ObjectServiceFactory.java:1044)
      4. org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(ObjectServiceFactory.java:798)
      5. org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:742)
      6. org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:426)
      6 frames
    5. com.atlassian.crowd
      SecurityServerClientImpl.searchGroups
      1. com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.getSecurityServer(SecurityServerClientImpl.java:69)
      2. com.atlassian.crowd.integration.service.soap.client.SecurityServerClientImpl.searchGroups(SecurityServerClientImpl.java:279)
      2 frames