Skip to Content
avatar image
Former Member

missing type javax.servlet.http.HttpServletRequest

Hi

I tried to add an existing local Web Dynpro project into the NWDI. The Web Dynpro is based on WebAS 6.40 SP19 and so I added the

“JDI Build Tool 6.40”,

“SAP J2EE Engine 6.40” and

“SAP JAVA TECH SERVICES 6.40”

as the required software components for “BuildTime” in the SLD, created a track in the Landscape Configurator, made a check-in and imported these components in the Transport Studio (Scenario 2+).

But when I tried to do a rebuild of the project (after I copied the source) I got the following error:

“The project was not built since its classpath is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the classpath then try rebuilding this project.”

“This compilation unit indirectly references the missing type javax.servlet.http.HttpServletRequest (typically some required class file is referencing a type outside the classpath)”

Which SC do I have to add in the SLD as a required SC so that this Web Dynpro finds the javax.servlet.* ???

Some additional information:

My Developer Studio Version is 2.0.19

local WebAS 6.40 SP 19

Thanks

Rene

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 14, 2007 at 11:28 AM

    Hi

    The required jar file is servlet.jar, this is present on your server under

    \usr\sap\<ID>\<INST>\j2ee\cluster\<NODE>\bin/ext/servlet/servlet.jar

    try adding this to your class path...

    Do let me know in case of further queries

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 18, 2007 at 09:22 AM

    sorry for setting this topic to unanswered again.

    Add comment
    10|10000 characters needed characters exceeded