Monday, August 18, 2008

com.ibm.wsspi.amm.exception.NoSuchClassException: unable to locate class in module

[8/18/08 15:44:16:748 PDT] 00000000 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl processAnnotations Annotations scanning of EJB JAR [ MayhemEJB.jar ] completed with errors.
[8/18/08 15:44:16:748 PDT] 00000000 wtp E org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl processAnnotations Annotations error:
com.ibm.wsspi.amm.exception.NoSuchClassException: unable to locate class com.mcnz.ejb.StatelessTimerLocal in module MayhemWeb.war
at com.ibm.ws.amm.scan.util.info.impl.DelayedClassInfo.getClassInfo(DelayedClassInfo.java:247)
at com.ibm.ws.amm.scan.util.info.impl.DelayedClassInfo.getDeclaredMethods(DelayedClassInfo.java:113)

Dang, I keep seeing this error. Somehow, my design time classpath isn't recognized by the runtime. That sucks. So, I included the EJB project in the classpath, and I thought the classloader loaded from both EJB and web modules, so I'm a little annoyed. Do I have to create an EJB client jar and put it in the root of the EAR. I saw some funny business with the EJB client
jar with IRAD 7.5 Beta, so I'd prefer not to. Oh well. We gotta get this running on WebSphere 7!

However now that I'm looking at it, I didn't go to the Web Libraries module dependency tab and click my EJB module. Maybe that's what I need to do. I had done it in the J2EE Modules tab though....Heh...J2EE...Shouldn't it be JEE?




No comments: