Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class loader issue in Liferay

 
pankaj semwal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
In one of the portlet we are using Schedular like this public class SetNotificationSchedular implements MessageListener

Earlier its was running fine in both QA and Production .But now we are getting class not found issue.

We are using jdk1.6, Liferay sp2 6.0 and websphere and operating system is linux.

Can any body tell us where we made the mistake .

Unable find model com.mcmcg.lawfirmportal.documenttype.model.impl.DocumentNotificationJobImpl
java.lang.ClassNotFoundException: com.mcmcg.lawfirmportal.documenttype.model.impl.DocumentNotificationJobImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:111)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic