cancel
Showing results for 
Search instead for 
Did you mean: 

Class path error

Former Member
0 Kudos

Experts,

My NWDS Version: 7.0.14 and Java Version: 1.4.2_12

Client (Franklins) NWDI is using : 6.40 sp 15

In util class, I need to import javax.servlet.http.HttpSession;

Currently the compiler cannot find the class cause the servlet.jar lib is not in the classpath.

NWDS has this lib in the plugin folder, and apparently for a DC project, I cannot change the classpath to include this lib from the IDE. A DC build overwrites the classpath entries.

What is the best way to include external libs in WD project? Is there any option other than patching?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

siddharth_jain
Active Contributor
0 Kudos

Hi,

Including servlet lib DC from SAP-JEE SC in your WD DC as a used dc should resolve the javax.servlet.http.HttpSession

import.

Siddharth

former_member192434
Active Contributor
0 Kudos

Hi Sabir,

import the servlet the jar file in java build path useing following step

Right Click on Project>Java Build Path>Libraries-->Add External jar

Aslo add this jar file to lib folder of your project by following this step

Click Navigator tab>Lib folder your proect>Import jar file hear.

It will solve your problem

Thanks

jigarlotia
Participant
0 Kudos

Hi,

Please see the following thread. It has your solution.

/message/1432401#1432401 [original link is broken]

Regards,

Jigar