java.lang.NoClassDefFoundError: com/sun/enterprise/security/auth/realm/IASRealm

Oracle Community | anaq | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Glassfish V3 custom realm issue

    Oracle Community | 7 years ago | anaq
    java.lang.NoClassDefFoundError: com/sun/enterprise/security/auth/realm/IASRealm
  2. 0

    Liquibase CDI Integration

    Stack Overflow | 2 years ago | ci_ms
    org.glassfish.deployment.common.DeploymentException: CDI deployment failure:javax/enterprise/inject/spi/Extension
  3. 0

    java.lang.IncompatibleClassChangeError using Spring and hibernate in glassfish

    Stack Overflow | 5 years ago | Rian
    org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [core-application-context-jpa.xml]: Cannot create inner bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#104bc3' of type [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] while setting bean property 'jpaVendorAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#104bc3' defined in class path resource [core-application-context-jpa.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/persistence/spi/PersistenceProvider
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PrimeFaces Community Forum • View topic - Unable to deploy with PrimeFaces

    primefaces.org | 1 year ago
    org.apache.catalina.LifecycleException: java.lang.NoClassDefFoundError: javax/faces/context/PartialViewContextFactory
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

    com/sun/enterprise/security/auth/realm/IASRealm

    at java.lang.ClassLoader.findBootstrapClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.findBootstrapClass(Native Method)
    2. java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:882)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:298)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:296)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:296)
    5 frames
  3. Kernel Classes
    APIClassLoaderServiceImpl$APIClassLoader.loadClass
    1. com.sun.enterprise.v3.server.APIClassLoaderServiceImpl$APIClassLoader.loadClass(APIClassLoaderServiceImpl.java:174)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:296)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    2 frames
  5. Security Core Classes
    SecurityLifecycle.postConstruct
    1. com.sun.enterprise.security.auth.realm.Realm.doInstantiate(Realm.java:276)
    2. com.sun.enterprise.security.auth.realm.Realm.instantiate(Realm.java:183)
    3. com.sun.enterprise.security.auth.realm.RealmConfig.createRealms(RealmConfig.java:74)
    4. com.sun.enterprise.security.SecurityLifecycle.createRealms(SecurityLifecycle.java:308)
    5. com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:195)
    6. com.sun.enterprise.security.SecurityLifecycle.postConstruct(SecurityLifecycle.java:264)
    6 frames
  6. Inversion of Control / Autodependency mechanism
    ConstructorWomb$1.run
    1. com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
    2. com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
    2 frames
  7. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  8. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
    2. com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
    3. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
    4. com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
    5. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
    5 frames
  9. Security Core Classes
    SecuritySniffer.setup
    1. com.sun.enterprise.security.SecuritySniffer.setup(SecuritySniffer.java:105)
    1 frame
  10. Kernel Classes
    InstallerThread.run
    1. com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:99)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:703)
    3. com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:451)
    4. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
    5. com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:340)
    6. com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:292)
    7. com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
    7 frames