java.lang.NoClassDefFoundError: scala/Function1

open-groove.net | 3 months ago
  1. 0

    Apache Spark – Mavenのビルドでリベンジ | OpenGroove

    open-groove.net | 7 months ago
    java.lang.NoClassDefFoundError: scala/Function1
  2. 0

    Apache Spark – Mavenのビルドでリベンジ | OpenGroove

    open-groove.net | 3 months ago
    java.lang.NoClassDefFoundError: scala/Function1
  3. 0

    If i create a FunctionalMunitSuite test and run it from Studio, I'm getting the following error: {code} java.lang.RuntimeException: org.mule.api.config.ConfigurationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.el.mvel.MVELExpressionLanguageWrapper@68ac9ec5 (org.mule.api.lifecycle.InitialisationException) at org.mule.munit.runner.functional.FunctionalMunitSuite.<init>(FunctionalMunitSuite.java:60) at testfunctionaltest.testFunctionalJava.<init>(testFunctionalJava.java:13) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:195) at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: org.mule.api.config.ConfigurationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.el.mvel.MVELExpressionLanguageWrapper@68ac9ec5 (org.mule.api.lifecycle.InitialisationException) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49) at org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69) at org.mule.context.DefaultMuleContextFactory$1.configure(DefaultMuleContextFactory.java:89) at org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222) at org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:81) at org.mule.munit.runner.MunitMuleContextFactory.createMuleContext(MunitMuleContextFactory.java:85) at org.mule.munit.runner.MuleContextManager.createMule(MuleContextManager.java:112) at org.mule.munit.runner.functional.FunctionalMunitSuite.<init>(FunctionalMunitSuite.java:51) ... 24 more Caused by: org.mule.api.lifecycle.InitialisationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.el.mvel.MVELExpressionLanguageWrapper@68ac9ec5 at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:124) at org.mule.config.spring.SpringXmlConfigurationBuilder.createSpringRegistry(SpringXmlConfigurationBuilder.java:177) at org.mule.config.spring.SpringXmlConfigurationBuilder.doConfigure(SpringXmlConfigurationBuilder.java:100) at org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:43) ... 31 more Caused by: org.mule.api.lifecycle.LifecycleException: Failed to invoke lifecycle phase "initialise" on object: org.mule.el.mvel.MVELExpressionLanguageWrapper@68ac9ec5 at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:249) at org.mule.lifecycle.phases.MuleContextInitialisePhase.applyLifecycle(MuleContextInitialisePhase.java:71) at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:99) at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:71) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) at org.mule.registry.AbstractRegistry.fireLifecycle(AbstractRegistry.java:146) at org.mule.registry.AbstractRegistry.initialise(AbstractRegistry.java:116) ... 34 more Caused by: java.lang.NoClassDefFoundError: scala/Function1 at com.mulesoft.weave.mule.el.WeaveExpressionLanguageExtension.configureContext(WeaveExpressionLanguageExtension.scala:12) at org.mule.el.mvel.GlobalVariableResolverFactory.<init>(GlobalVariableResolverFactory.java:39) at org.mule.el.mvel.MVELExpressionLanguage.createStaticContext(MVELExpressionLanguage.java:89) at org.mule.el.mvel.MVELExpressionLanguage.initialise(MVELExpressionLanguage.java:83) at org.mule.el.mvel.MVELExpressionLanguageWrapper.initialise(MVELExpressionLanguageWrapper.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ... 41 more Caused by: java.lang.ClassNotFoundException: scala.Function1 at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 51 more {code}

    MuleSoft JIRA | 7 months ago | Julian Pascual
    java.lang.RuntimeException: org.mule.api.config.ConfigurationException: Failed to invoke lifecycle phase "initialise" on object: org.mule.el.mvel.MVELExpressionLanguageWrapper@68ac9ec5 (org.mule.api.lifecycle.InitialisationException)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    boot repl crashed on exit

    GitHub | 2 years ago | jumblerg
    java.lang.NoClassDefFoundError: reply/eval_modes/nrepl$handle_client_interruption_BANG_$fn__3843$fn__3844
  6. 0

    Broken akka.sh

    GitHub | 2 years ago | raupachz
    java.lang.NoClassDefFoundError: scala/Function1

  1. andyglick 2 times, last 3 days ago
  2. richard77 1 times, last 6 days ago
  3. musketyr 2 times, last 6 days ago
  4. michallos 2 times, last 6 days ago
  5. batwalrus76 2 times, last 7 days ago
67 more registered users
28 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

    scala.Function1

    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:424)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    7 frames
  3. com.cloudera.sparkwordcount
    SparkWordCount.main
    1. com.cloudera.sparkwordcount.SparkWordCount.main(SparkWordCount.scala)
    1 frame