java.lang.Error: Unresolved compilation problems: The type org.slf4j.Logger cannot be resolved. It is indirectly referenced from required .class files The import org.osgi cannot be resolved The import org.osgi cannot be resolved The import org.slf4j.Logger cannot be resolved The import org.slf4j.LoggerFactory cannot be resolved BundleActivator cannot be resolved to a type Logger cannot be resolved to a type LoggerFactory cannot be resolved BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type

GitHub | maggu2810 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SmartHome Runtime error: unresolved compilation problems

    GitHub | 7 months ago | maggu2810
    java.lang.Error: Unresolved compilation problems: The type org.slf4j.Logger cannot be resolved. It is indirectly referenced from required .class files The import org.osgi cannot be resolved The import org.osgi cannot be resolved The import org.slf4j.Logger cannot be resolved The import org.slf4j.LoggerFactory cannot be resolved BundleActivator cannot be resolved to a type Logger cannot be resolved to a type LoggerFactory cannot be resolved BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: The type org.slf4j.Logger cannot be resolved. It is indirectly referenced from required .class files The import org.osgi cannot be resolved The import org.osgi cannot be resolved The import org.slf4j.Logger cannot be resolved The import org.slf4j.LoggerFactory cannot be resolved BundleActivator cannot be resolved to a type Logger cannot be resolved to a type LoggerFactory cannot be resolved BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type BundleContext cannot be resolved to a type BundleContext cannot be resolved to a type

      at org.eclipse.smarthome.core.scheduler.internal.SchedulerActivator.<init>()
    2. org.eclipse.smarthome
      SchedulerActivator.<init>
      1. org.eclipse.smarthome.core.scheduler.internal.SchedulerActivator.<init>(SchedulerActivator.java:1)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    4. Eclipse OSGi
      EventManager$EventThread.run
      1. org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:755)
      2. org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:706)
      3. org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)
      4. org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)
      5. org.eclipse.osgi.container.Module.doStart(Module.java:571)
      6. org.eclipse.osgi.container.Module.start(Module.java:439)
      7. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
      8. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)
      9. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
      10. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
      11. org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
      12. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      13. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      13 frames