java.lang.ClassNotFoundException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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.

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

  • When JIRA 2.5b2 standalone starts up, it gives this error after creating the tables: 2003-10-24 22:14:05,576 WARN [NoModule] EntityEcaHandler class with name org.ofbiz.core.extentity.eca.DelegatorEcaHandler was not found, Entity ECA Rules will be disabled java.lang.ClassNotFoundException: org.ofbiz.core.extentity.eca.DelegatorEcaHandler at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:182) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:89) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConnection(ConsistencyCheckImpl.java:181) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConsistency(ConsistencyCheckImpl.java:138) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.initialise(ConsistencyCheckImpl.java:129) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:18) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Harmless but annoying.
    via by Jeff Turner,
  • When I try to use LDAP to authorize users in A3, I get the exception listed below. Here is what I added to osuser.xml: <provider class="com.opensymphony.module.user.provider.ldap.LDAPCredentialsProvider"> <property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property> <property name="java.naming.provider.url">ldap://dedus-ad02.valtech-intern.de:389</property> <property name="searchBase">DC=valtech-intern,DC=de</property> <property name="uidSearchName">sAMAccountName</property> <property name="java.naming.security.principal">CN=LDAPReader,CN=Users,DC=valtech-intern,DC=de</property> <property name="java.naming.security.credentials">*****</property> <property name="exclusive-access">true</property> </provider> 05.12.2003 20:54:46 com.opensymphony.user.util.ConfigLoader addProvider SCHWERWIEGEND: Could not create instance of provider java.lang.ClassNotFoundException: com.opensymphony.module.user.provider.ldap.LDA PCredentialsProvider at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1444) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1289) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at com.opensymphony.user.util.ConfigLoader.addProvider(ConfigLoader.java :117) at com.opensymphony.user.util.ConfigLoader.access$100(ConfigLoader.java: 37) at com.opensymphony.user.util.ConfigLoader$ConfigHandler.endElement(Conf igLoader.java:154) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at com.opensymphony.user.util.ConfigLoader.load(ConfigLoader.java:59) at com.opensymphony.user.UserManager.<init>(UserManager.java:107) at com.opensymphony.user.UserManager.<init>(UserManager.java:58) at com.opensymphony.user.UserManager.getInstance(UserManager.java:126) at com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthentic ator.java:64) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:129
    via by Ingomar Otter,
  • Batik not in classpath
    via Stack Overflow by AndrewQ
    ,
    • java.lang.ClassNotFoundException: org.ofbiz.core.extentity.eca.DelegatorEcaHandler at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289) at org.ofbiz.core.entity.GenericDelegator.<init>(GenericDelegator.java:182) at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:89) at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:33) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConnection(ConsistencyCheckImpl.java:181) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.checkConsistency(ConsistencyCheckImpl.java:138) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.initialise(ConsistencyCheckImpl.java:129) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:18) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3270) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3599) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    treefolk
    2 times, last one,
    444 more bugmates