Hi! Sometimes with NoClassDefFound errors the problem is not in the class listed, but something that class refers to in an initializer. The best way to resolve it is probably to get the source and step through it in the debugger to figure what line in the class it is dying on. You might be able to tell in the debugger without the source if you stop where it throws the exception. -Doug.
-----Original Message----- From: Randy Kahn (JIRA) [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 7:37 PM To: [email protected] Subject: [jira] Commented: (WSIF-92) NoClassDefFound error - Could not initialize class org.apache.wsif.logging.Trc - Although wsif.jar is visible in classpath (by classloader) [ https://issues.apache.org/jira/browse/WSIF-92?page=com.atlassian.jira.pl ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562333#ac tion_12562333 ] Randy Kahn commented on WSIF-92: -------------------------------- This is the latest wsif.jar (2.0). The classpath issue is confusing because the error message is not accurately pointing to the missing class. I wish there was a WSIF expert knew the inner workings of WSFUtils or Trc to tell us what class definition is missing. If tis is a common issue, would this have been documented somewhere ? I read in a forum for IBM's websphere (similar issue) that they had to set a LogFactory property (not sure). > NoClassDefFound error - Could not initialize class org.apache.wsif.logging.Trc - Although wsif.jar is visible in classpath (by classloader) > ------------------------------------------------------------------------ ------------------------------------------------------------------- > > Key: WSIF-92 > URL: https://issues.apache.org/jira/browse/WSIF-92 > Project: Axis-WSIF > Issue Type: Bug > Components: Basic Architecture > Affects Versions: 2.0 > Environment: Redhat Linux, Oracle Application Server 10g (OC4J 10.1.3.1) > Reporter: Randy Kahn > Priority: Blocker > > Version number of WSIF - 2.0 > Version number of JDK (enter "java -fullversion") java full version "1.5.0_06-b" > Trying to invoke any webservice (via wsdl) using WSIF, the NoClassDef error points to Trc.class from WSIFUtils.class. > Both these classes are in wsif.jar, how come it fines WSIFUtils but not Trc ? > Here's the full error message: > Error > > java.lang.NoClassDefFoundError: Could not initialize class org.apache.wsif.logging.Trc at org.apache.wsif.util.WSIFUtils.readWSDL(WSIFUtils.java:446) at oracle.apps.fnd.wf.test.webui.WSIFTestCO.processFormRequest(WSIFTestCO.j ava:55) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
