java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager

Atlassian JIRA | Dylan Etkin [Atlassian] | 1 decade ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Every unit test that is run with standard starts with this exception: [junit] 2006-05-04 08:34:14,262 FATAL [jira.config.component.LicenseComponentAdaptor] Error occurred while locating 'com.atlassian.jira.workflow.OSWorkflowManager'. Professional features will not be available. [junit] java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:199) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) [junit] at com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:67) [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.loadComponent(LicenseComponentAdaptor.java:122) [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.getComponentInstance(LicenseComponentAdaptor.java:105) [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:222) [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:198) It looks bad, but it is the correct behavior, perhaps we should not show the stacktrace.

    Atlassian JIRA | 1 decade ago | Dylan Etkin [Atlassian]
    java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager
  2. 0

    Every unit test that is run with standard starts with this exception: [junit] 2006-05-04 08:34:14,262 FATAL [jira.config.component.LicenseComponentAdaptor] Error occurred while locating 'com.atlassian.jira.workflow.OSWorkflowManager'. Professional features will not be available. [junit] java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager [junit] at java.net.URLClassLoader$1.run(URLClassLoader.java:199) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) [junit] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) [junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) [junit] at com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:67) [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.loadComponent(LicenseComponentAdaptor.java:122) [junit] at com.atlassian.jira.config.component.LicenseComponentAdaptor.getComponentInstance(LicenseComponentAdaptor.java:105) [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:222) [junit] at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:198) It looks bad, but it is the correct behavior, perhaps we should not show the stacktrace.

    Atlassian JIRA | 1 decade ago | Dylan Etkin [Atlassian]
    java.lang.ClassNotFoundException: com.atlassian.jira.workflow.OSWorkflowManager
  3. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  6. 0
    samebug tip
    Check if you didn't forget to instantiate your topic in the kafka broker.
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

    com.atlassian.jira.workflow.OSWorkflowManager

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    6 frames
  3. com.atlassian.core
    ClassLoaderUtils.loadClass
    1. com.atlassian.core.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:67)
    1 frame
  4. com.atlassian.jira
    LicenseComponentAdaptor.getComponentInstance
    1. com.atlassian.jira.config.component.LicenseComponentAdaptor.loadComponent(LicenseComponentAdaptor.java:122)
    2. com.atlassian.jira.config.component.LicenseComponentAdaptor.getComponentInstance(LicenseComponentAdaptor.java:105)
    2 frames
  5. org.picocontainer.defaults
    ConstructorInjectionComponentAdapter.instantiateComponent
    1. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:222)
    2. org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:198)
    2 frames