4 Replies Latest reply on Aug 5, 2013 5:17 AM by Ritika Gupta

    ERROR [org.quartz.core.JobRunShell] (DefaultQuartzScheduler_Worker-1) Job DEFAULT.RestrictedUserCleanup threw an unhandled Exception: : java.lang.NoClassDefFoundError: com/snapon/daimlerportal/utility/EWAPortalService

    Ritika Gupta Newbie

      I am using jboss_7.1 version

      I have this error in my project-

       

       

      11:17:08,705 ERROR [org.quartz.core.JobRunShell] (DefaultQuartzScheduler_Worker-1) Job DEFAULT.RestrictedUserCleanup threw an unhandled Exception: : java.lang.NoClassDefFoundError: com/snapon/daimlerportal/utility/EWAPortalService
              at com.snapon.daimlerportal.database.ReservedLogonDAO.cleanupExpiredLogons(ReservedLogonDAO.java:301) [daimlerportal-ejb.jar:]
              at com.snapon.daimlerportal.job.ExpiredUserCleanupJob.execute(ExpiredUserCleanupJob.java:30) [daimlerportal-ejb.jar:]
              at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.0.jar:1.6.0]
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) [quartz-1.6.0.jar:1.6.0]
      Caused by: java.lang.ClassNotFoundException: com.snapon.daimlerportal.utility.EWAPortalService from [Module "deployment.daimlerportal.ear.daimlerportal-ejb.jar:main" from Service Module Loader]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [rt.jar:1.6.0_13]
              ... 4 more

      11:17:08,731 ERROR [stderr] (DefaultQuartzScheduler_Worker-1) Exception in thread "DefaultQuartzScheduler_Worker-1" java.lang.NoClassDefFoundError: org/quartz/utils/ExceptionHelper
      11:17:08,732 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.quartz.SchedulerException.setCause(SchedulerException.java:141)
      11:17:08,733 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.quartz.SchedulerException.<init>(SchedulerException.java:131)
      11:17:08,735 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
      11:17:08,737 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
      11:17:08,739 ERROR [stderr] (DefaultQuartzScheduler_Worker-1) Caused by: java.lang.ClassNotFoundException: org.quartz.utils.ExceptionHelper from [Module "deployment.daimlerportal.ear.daimlerportal-ejb.jar:main" from Service Module Loader]
      11:17:08,741 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      11:17:08,742 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      11:17:08,744 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      11:17:08,746 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
      11:17:08,747 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
      11:17:08,749 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      11:17:08,751 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      11:17:08,753 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      11:17:08,754 ERROR [stderr] (DefaultQuartzScheduler_Worker-1)   ... 4 more

       

       

      I saw into the my *.jar file  that class file is already present there, then also why it is throwing ClassNotFoundException.

      I saw NoClassDefFoundError: org/quartz/utils/ExceptionHelper - ExceptionHelper is also present n quartz jar

       

       

      Please give any solution-

      I searched on many sites also but don't get correct solution.