java.lang.NoClassDefFoundError

javax/validation/constraints/NotNull

Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4002

  • via Unknown by Haroon Rafique,
  • via Unknown by Haroon Rafique,
  • via Stack Overflow by s0d
    ,
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    treefolktreefolk
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    444 more bugmates