org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)

MuleSoft JIRA | kiran vaddadi | 3 years ago
  1. 0

    When trying to migrate from 3.3.2EE to 3.4EE flow test cases fail with below error.. org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException) at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at com.mulesource.licm.impl.MuleLicenseManager.<init>(MuleLicenseManager.java:25) at com.mulesource.licm.LicenseManagementFactory.createLicenseManager(LicenseManagementFactory.java:48) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.loadLicenseKey(MuleEmbeddedLicenseCheck.java:23) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.checkLicense(MuleEmbeddedLicenseCheck.java:32) at com.mulesoft.mule.config.license.LicenseCheckAspect.checkLicense(LicenseCheckAspect.aj:26) at com.mulesoft.mule.config.license.LicenseCheckAspect.ajc$before$com_mulesoft_mule_config_license_LicenseCheckAspect$1$679d227a(LicenseCheckAspect.aj:21) at com.mulesoft.mule.config.spring.EeNamespaceHandler.<init>(EeNamespaceHandler.java:38)

    MuleSoft JIRA | 3 years ago | kiran vaddadi
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)
  2. 0

    When trying to migrate from 3.3.2EE to 3.4EE flow test cases fail with below error.. org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException) at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at com.mulesource.licm.impl.MuleLicenseManager.<init>(MuleLicenseManager.java:25) at com.mulesource.licm.LicenseManagementFactory.createLicenseManager(LicenseManagementFactory.java:48) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.loadLicenseKey(MuleEmbeddedLicenseCheck.java:23) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.checkLicense(MuleEmbeddedLicenseCheck.java:32) at com.mulesoft.mule.config.license.LicenseCheckAspect.checkLicense(LicenseCheckAspect.aj:26) at com.mulesoft.mule.config.license.LicenseCheckAspect.ajc$before$com_mulesoft_mule_config_license_LicenseCheckAspect$1$679d227a(LicenseCheckAspect.aj:21) at com.mulesoft.mule.config.spring.EeNamespaceHandler.<init>(EeNamespaceHandler.java:38)

    MuleSoft JIRA | 3 years ago | kiran vaddadi
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)
  3. 0

    When trying to migrate from 3.3.2EE to 3.4EE flow test cases fail with below error.. org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException) at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at com.mulesource.licm.impl.MuleLicenseManager.<init>(MuleLicenseManager.java:25) at com.mulesource.licm.LicenseManagementFactory.createLicenseManager(LicenseManagementFactory.java:48) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.loadLicenseKey(MuleEmbeddedLicenseCheck.java:23) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.checkLicense(MuleEmbeddedLicenseCheck.java:32) at com.mulesoft.mule.config.license.LicenseCheckAspect.checkLicense(LicenseCheckAspect.aj:26) at com.mulesoft.mule.config.license.LicenseCheckAspect.ajc$before$com_mulesoft_mule_config_license_LicenseCheckAspect$1$679d227a(LicenseCheckAspect.aj:21) at com.mulesoft.mule.config.spring.EeNamespaceHandler.<init>(EeNamespaceHandler.java:38)

    MuleSoft JIRA | 3 years ago | kiran vaddadi
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When trying to migrate from 3.3.2EE to 3.4EE flow test cases fail with below error.. org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException) at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at com.mulesource.licm.impl.MuleLicenseManager.<init>(MuleLicenseManager.java:25) at com.mulesource.licm.LicenseManagementFactory.createLicenseManager(LicenseManagementFactory.java:48) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.loadLicenseKey(MuleEmbeddedLicenseCheck.java:23) at com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.checkLicense(MuleEmbeddedLicenseCheck.java:32) at com.mulesoft.mule.config.license.LicenseCheckAspect.checkLicense(LicenseCheckAspect.aj:26) at com.mulesoft.mule.config.license.LicenseCheckAspect.ajc$before$com_mulesoft_mule_config_license_LicenseCheckAspect$1$679d227a(LicenseCheckAspect.aj:21) at com.mulesoft.mule.config.spring.EeNamespaceHandler.<init>(EeNamespaceHandler.java:38)

    MuleSoft JIRA | 3 years ago | kiran vaddadi
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)
  6. 0

    java.lang.NoClassDefFoundError: de/schlichtherle/license/LicenseContentException While deploying mule war file to tomcat

    Stack Overflow | 2 years ago
    org.mule.api.config.ConfigurationException: Unexpected exception parsing XML document from simplewebapp.xml; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/LicenseContentException (org.mule.api.lifecycle.InitialisationException)

    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. org.mule.api.config.ConfigurationException

      Unexpected exception parsing XML document from URL [file:/C:/projects/source/target/test-classes/mule-transports.xml]; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mulesoft.mule.config.spring.EeNamespaceHandler]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: de/schlichtherle/license/KeyStoreParam (org.mule.api.lifecycle.InitialisationException)

      at java.net.URLClassLoader$1.run()
    2. Java RT
      ClassLoader.loadClass
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      3. java.security.AccessController.doPrivileged(Native Method)
      4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      5. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      7. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      7 frames
    3. com.mulesource.licm
      LicenseManagementFactory.createLicenseManager
      1. com.mulesource.licm.impl.MuleLicenseManager.<init>(MuleLicenseManager.java:25)
      2. com.mulesource.licm.LicenseManagementFactory.createLicenseManager(LicenseManagementFactory.java:48)
      2 frames
    4. com.mulesoft.mule
      EeNamespaceHandler.<init>
      1. com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.loadLicenseKey(MuleEmbeddedLicenseCheck.java:23)
      2. com.mulesoft.mule.config.license.MuleEmbeddedLicenseCheck.checkLicense(MuleEmbeddedLicenseCheck.java:32)
      3. com.mulesoft.mule.config.license.LicenseCheckAspect.checkLicense(LicenseCheckAspect.aj:26)
      4. com.mulesoft.mule.config.license.LicenseCheckAspect.ajc$before$com_mulesoft_mule_config_license_LicenseCheckAspect$1$679d227a(LicenseCheckAspect.aj:21)
      5. com.mulesoft.mule.config.spring.EeNamespaceHandler.<init>(EeNamespaceHandler.java:38)
      5 frames