Skip to Content
author's profile photo
Former Member

classdefnotfounferror

Dear all

Firstly - many thanks to those whos answers I have found so helpful so far.

I suspect this is an easy one for you.

Versions as follows;

jdk 1.3.1_09

tomcat 3.3.2

PDK 5.0.6.0

Eclipse 2.1

Im getting this error when deploying a component Im trying to develop using the File|Export mechanism to run the component in tomcat.

com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component

...

...

...

Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/prt/pom/INode

at callRFCPackage.callRFC$callRFCDynPage.doProcessBeforeOutput(callRFC.java:58)

...

...

...

The project compiles and builds ok in eclipse but when running the component I get the missing class error.

The line of code causing the error is;

Properties params = Util.getParameters(this, request);

The INode class is in prtapi.jar which by default is in %TOMCAT_INSTALL%\webapps\irj\WEB-INF\plugins\portal\lib

I've got this import statement in my component code.

import com.sapportals.portal.prt.pom.INode;

I've added the prtapi.jar explicitly to the build path in the project properties in eclipse.

I've also tried adding it to the tomcat.bat CLASSPATH definition. This prevents tomcat from starting.

I've also tried adding it to workplace.properties which also prevents tomcat from starting.

Running out of ideas now. Any thoughts very welcome.

Many thanks

William

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Jul 29, 2004 at 11:46 AM

    Please ignore this duplicate post due to typo. See message subject 'NoClassDefFoundError PDK5.0'

    Thanks

    William

    Add comment
    10|10000 characters needed characters exceeded