java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull

Kuali JIRA | Haroon Rafique | 3 years ago
  1. 0

    From localhost log: {noformat} Apr 28, 2014 8:27:14 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Apr 28, 2014 8:28:45 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.kuali.rice.core.web.listener.KualiInitializeListener java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processAnnotationForAttribute(AnnotationMetadataProviderImpl.java:317) at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processFieldLevelAnnotations(AnnotationMetadataProviderImpl.java:217) at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.initializeMetadata(AnnotationMetadataProviderImpl.java:124) at org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.provideMetadataForTypes(MetadataProviderBase.java:91) at org.kuali.rice.krad.data.provider.impl.CompositeMetadataProviderImpl.initializeMetadata(CompositeMetadataProviderImpl.java:74) at org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.handles(MetadataProviderBase.java:61) at org.kuali.rice.krad.data.provider.impl.ProviderRegistryImpl.getMetadataProvider(ProviderRegistryImpl.java:164) at org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.embedMetadata(DataDictionaryEntryBase.java:201) at org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.dataDictionaryPostProcessing(DataDictionaryEntryBase.java:371) at org.kuali.rice.krad.datadictionary.BusinessObjectEntry.dataDictionaryPostProcessing(BusinessObjectEntry.java:98) at org.kuali.rice.krad.datadictionary.DataDictionary.performDictionaryPostProcessing(DataDictionary.java:229) at org.kuali.rice.krad.datadictionary.DataDictionary.parseDataDictionaryConfigurationFiles(DataDictionary.java:112) at org.kuali.rice.krad.config.KRADConfigurer.loadDataDictionary(KRADConfigurer.java:118) at org.kuali.rice.krad.config.KRADConfigurer.onApplicationEvent(KRADConfigurer.java:82) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.kuali.rice.core.web.listener.KualiInitializeListener.contextInitialized(KualiInitializeListener.java:105) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: javax.validation.constraints.NotNull at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 43 more Apr 28, 2014 8:28:46 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext {noformat}

    Kuali JIRA | 3 years ago | Haroon Rafique
    java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull
  2. 0

    From localhost log: {noformat} Apr 28, 2014 8:27:14 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Apr 28, 2014 8:28:45 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.kuali.rice.core.web.listener.KualiInitializeListener java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processAnnotationForAttribute(AnnotationMetadataProviderImpl.java:317) at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processFieldLevelAnnotations(AnnotationMetadataProviderImpl.java:217) at org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.initializeMetadata(AnnotationMetadataProviderImpl.java:124) at org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.provideMetadataForTypes(MetadataProviderBase.java:91) at org.kuali.rice.krad.data.provider.impl.CompositeMetadataProviderImpl.initializeMetadata(CompositeMetadataProviderImpl.java:74) at org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.handles(MetadataProviderBase.java:61) at org.kuali.rice.krad.data.provider.impl.ProviderRegistryImpl.getMetadataProvider(ProviderRegistryImpl.java:164) at org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.embedMetadata(DataDictionaryEntryBase.java:201) at org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.dataDictionaryPostProcessing(DataDictionaryEntryBase.java:371) at org.kuali.rice.krad.datadictionary.BusinessObjectEntry.dataDictionaryPostProcessing(BusinessObjectEntry.java:98) at org.kuali.rice.krad.datadictionary.DataDictionary.performDictionaryPostProcessing(DataDictionary.java:229) at org.kuali.rice.krad.datadictionary.DataDictionary.parseDataDictionaryConfigurationFiles(DataDictionary.java:112) at org.kuali.rice.krad.config.KRADConfigurer.loadDataDictionary(KRADConfigurer.java:118) at org.kuali.rice.krad.config.KRADConfigurer.onApplicationEvent(KRADConfigurer.java:82) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.kuali.rice.core.web.listener.KualiInitializeListener.contextInitialized(KualiInitializeListener.java:105) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: javax.validation.constraints.NotNull at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 43 more Apr 28, 2014 8:28:46 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext {noformat}

    Kuali JIRA | 3 years ago | Haroon Rafique
    java.lang.NoClassDefFoundError: javax/validation/constraints/NotNull
  3. 0

    java.lang.ClassNotFoundException: DataSource in Glassfish

    Stack Overflow | 7 years ago | Brabster
    java.lang.ClassNotFoundException: DataSource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate-validator ClassNotFoundException

    Stack Overflow | 2 years ago | s0d
    java.lang.ClassNotFoundException: javax.validation.constraints.NotNull
  6. 0

    Using javax.validation in GWT throws runtime error ClassNotFoundException

    Stack Overflow | 5 years ago | Ben Bracha
    java.lang.ClassNotFoundException: javax.validation.constraints.NotNull

  1. Tahir 2 times, last 2 months ago
  2. Piz 2027 times, last 4 months ago
  3. jedcua 1 times, last 4 months ago
  4. esaar 3 times, last 4 months ago
  5. Justin 1 times, last 5 months ago
4 more registered users
91 unregistered visitors
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.ClassNotFoundException

    javax.validation.constraints.NotNull

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames
  3. org.kuali.rice
    KRADConfigurer.onApplicationEvent
    1. org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processAnnotationForAttribute(AnnotationMetadataProviderImpl.java:317)
    2. org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.processFieldLevelAnnotations(AnnotationMetadataProviderImpl.java:217)
    3. org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImpl.initializeMetadata(AnnotationMetadataProviderImpl.java:124)
    4. org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.provideMetadataForTypes(MetadataProviderBase.java:91)
    5. org.kuali.rice.krad.data.provider.impl.CompositeMetadataProviderImpl.initializeMetadata(CompositeMetadataProviderImpl.java:74)
    6. org.kuali.rice.krad.data.provider.impl.MetadataProviderBase.handles(MetadataProviderBase.java:61)
    7. org.kuali.rice.krad.data.provider.impl.ProviderRegistryImpl.getMetadataProvider(ProviderRegistryImpl.java:164)
    8. org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.embedMetadata(DataDictionaryEntryBase.java:201)
    9. org.kuali.rice.krad.datadictionary.DataDictionaryEntryBase.dataDictionaryPostProcessing(DataDictionaryEntryBase.java:371)
    10. org.kuali.rice.krad.datadictionary.BusinessObjectEntry.dataDictionaryPostProcessing(BusinessObjectEntry.java:98)
    11. org.kuali.rice.krad.datadictionary.DataDictionary.performDictionaryPostProcessing(DataDictionary.java:229)
    12. org.kuali.rice.krad.datadictionary.DataDictionary.parseDataDictionaryConfigurationFiles(DataDictionary.java:112)
    13. org.kuali.rice.krad.config.KRADConfigurer.loadDataDictionary(KRADConfigurer.java:118)
    14. org.kuali.rice.krad.config.KRADConfigurer.onApplicationEvent(KRADConfigurer.java:82)
    14 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
    2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
    3. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
    4. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
    4 frames
  5. org.kuali.rice
    KualiInitializeListener.contextInitialized
    1. org.kuali.rice.core.web.listener.KualiInitializeListener.contextInitialized(KualiInitializeListener.java:105)
    1 frame
  6. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    6. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
    7. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:525)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    18 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames