java.lang.ClassNotFoundException: [:]

GitHub | gsartori | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"
  2. 0
    samebug tip
    Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.
    via qt.io
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Help in solving ClassNotFoundException

    Oracle Community | 1 decade ago | 807581
    java.lang.ClassNotFoundException: com.ohioedge.j2ee.api.org.person.EmployeeBean.class
  5. 0

    java.lang.ClassNotFoundException: main.scala.org.xxxx.somepackage.HdfsTest in spark

    Stack Overflow | 7 months ago | Puneet
    java.lang.ClassNotFoundException: main.scala.org.xxxx.somepackage.HdfsTest

  1. osvzs 1 times, last 1 week ago
  2. jf-ast 3 times, last 2 weeks ago
  3. jokester 3 times, last 2 weeks ago
  4. jstrayer 3 times, last 3 weeks ago
  5. Andreas Häber 1 times, last 4 weeks ago
66 more registered users
29 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

    [:]

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)[na:1.8.0_92]
    2. java.lang.Class.forName(Class.java:264)[na:1.8.0_92]
    2 frames
  3. grails.plugin.springsecurity
    SpringSecurityService$reloadDBRoleHierarchy.call
    1. grails.plugin.springsecurity.SpringSecurityService.reloadDBRoleHierarchy(SpringSecurityService.groovy:154)[spring-security-core-3.1.1.jar:na]
    2. grails.plugin.springsecurity.SpringSecurityService$reloadDBRoleHierarchy.call(Unknown Source)[na:na]
    2 frames
  4. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-2.4.7.jar:2.4.7]
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)[groovy-2.4.7.jar:2.4.7]
    3 frames
  5. test
    TestService.createRole
    1. test.TestService.createRole(TestService.groovy:21)[build/:na]
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_92]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_92]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_92]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_92]
    4 frames
  7. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)[groovy-2.4.7.jar:2.4.7]
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)[groovy-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)[groovy-2.4.7.jar:2.4.7]
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)[groovy-2.4.7.jar:2.4.7]
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)[groovy-2.4.7.jar:2.4.7]
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)[groovy-2.4.7.jar:2.4.7]
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)[groovy-2.4.7.jar:2.4.7]
    8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)[groovy-2.4.7.jar:2.4.7]
    8 frames
  8. Unknown
    BootStrap$_closure1$_closure3.doCall
    1. BootStrap$_closure1$_closure3.doCall(BootStrap.groovy:11)[build/:na]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_92]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_92]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_92]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_92]
    4 frames
  10. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)[groovy-2.4.7.jar:2.4.7]
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)[groovy-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)[groovy-2.4.7.jar:2.4.7]
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)[groovy-2.4.7.jar:2.4.7]
    5. groovy.lang.Closure.call(Closure.java:414)[groovy-2.4.7.jar:2.4.7]
    6. groovy.lang.Closure.call(Closure.java:430)[groovy-2.4.7.jar:2.4.7]
    7. org.codehaus.groovy.runtime.DefaultGroovyMethods.with(DefaultGroovyMethods.java:242)[groovy-2.4.7.jar:2.4.7]
    8. org.codehaus.groovy.runtime.dgm$757.invoke(Unknown Source)[groovy-2.4.7.jar:2.4.7]
    9. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoMetaMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:251)[groovy-2.4.7.jar:2.4.7]
    10. org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71)[groovy-2.4.7.jar:2.4.7]
    11. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-2.4.7.jar:2.4.7]
    12. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-2.4.7.jar:2.4.7]
    13. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)[groovy-2.4.7.jar:2.4.7]
    13 frames
  11. Unknown
    BootStrap$_closure1.doCall
    1. BootStrap$_closure1.doCall(BootStrap.groovy:9)[build/:na]
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_92]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_92]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_92]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_92]
    4 frames
  13. Groovy
    Closure.call
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)[groovy-2.4.7.jar:2.4.7]
    2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)[groovy-2.4.7.jar:2.4.7]
    3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)[groovy-2.4.7.jar:2.4.7]
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)[groovy-2.4.7.jar:2.4.7]
    5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1089)[groovy-2.4.7.jar:2.4.7]
    6. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)[groovy-2.4.7.jar:2.4.7]
    7. groovy.lang.Closure.call(Closure.java:414)[groovy-2.4.7.jar:2.4.7]
    8. groovy.lang.Closure.call(Closure.java:408)[groovy-2.4.7.jar:2.4.7]
    8 frames
  14. Grails
    Environment.executeForCurrentEnvironment
    1. grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:437)[grails-bootstrap-3.1.9.jar:3.1.9]
    2. grails.util.Environment.executeForEnvironment(Environment.java:430)[grails-bootstrap-3.1.9.jar:3.1.9]
    3. grails.util.Environment.executeForCurrentEnvironment(Environment.java:406)[grails-bootstrap-3.1.9.jar:3.1.9]
    3 frames
  15. org.grails.web
    GrailsConfigUtils.executeGrailsBootstraps
    1. org.grails.web.servlet.boostrap.DefaultGrailsBootstrapClass.callInit(DefaultGrailsBootstrapClass.java:62)[grails-web-3.1.9.jar:3.1.9]
    2. org.grails.web.servlet.context.GrailsConfigUtils.executeGrailsBootstraps(GrailsConfigUtils.java:65)[grails-web-3.1.9.jar:3.1.9]
    2 frames
  16. org.grails.plugins
    BootStrapClassRunner.onStartup
    1. org.grails.plugins.web.servlet.context.BootStrapClassRunner.onStartup(BootStrapClassRunner.groovy:53)[grails-plugin-controllers-3.1.9.jar:3.1.9]
    1 frame
  17. Grails
    GrailsApplicationPostProcessor.onApplicationEvent
    1. grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy:238)[grails-core-3.1.9.jar:3.1.9]
    2. grails.boot.config.GrailsApplicationPostProcessor.onApplicationEvent(GrailsApplicationPostProcessor.groovy)[grails-core-3.1.9.jar:3.1.9]
    2 frames
  18. Spring Context
    AbstractApplicationContext.finishRefresh
    1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    4. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:335)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:855)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    5 frames
  19. Spring Boot
    EmbeddedWebApplicationContext.finishRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.finishRefresh(EmbeddedWebApplicationContext.java:140)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    1 frame
  20. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.2.6.RELEASE.jar:4.2.6.RELEASE]
    1 frame
  21. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    3. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)[spring-boot-1.3.5.RELEASE.jar:1.3.5.RELEASE]
    4 frames
  22. Grails
    GrailsApp.run
    1. grails.boot.GrailsApp.run(GrailsApp.groovy:55)[grails-core-3.1.9.jar:3.1.9]
    2. grails.boot.GrailsApp.run(GrailsApp.groovy:374)[grails-core-3.1.9.jar:3.1.9]
    2 frames