Skip to Content
Former Member
Sep 21, 2014 at 08:25 PM

Not able to create EAR file for WAR file extracted project


Hi Experts,

I am trying to import a WAR file, make changes to the project and create an EAR file for the same. I am not able to remove import
errors despite of adding required jar files to it.

Also, I am not able to create an EAR file for the same.

I have copied the steps here with screen shots. Below are the steps :

Import WAR file in NWDS 7.3 – Enterprise Portal perspective

Select WAR file to create WAR and EAR project for it.

Project created with import errors. e.g – com.sapportals.portal.prt*

Found jar file from Class – target jar file table.

e.g – for Class com.sapportals.portal.prt.resource.IResource needed jar file is tc~epbc~prt~api.jar

Copied required jar files in WEB-INF -> lib folder.

Configure Build path and Add External jars.

Portalapp file screen shot

I think errors should go now, but they still exist.

Next I right click on WAR project and tried updating related EAR project.

Next, Export EAR file from EAR project.

I have tried both EAR types.

But EAR file is not created.

Please help me in removing the errors.

Thanks in advance :-)

Anubha Pandey


01.jpg (37.9 kB)
02.jpg (23.2 kB)
03.jpg (46.1 kB)
05.jpg (32.3 kB)
06.jpg (41.8 kB)
07.jpg (60.7 kB)
08.jpg (27.6 kB)
09.jpg (43.8 kB)
10.jpg (42.8 kB)
11.jpg (35.6 kB)
12.jpg (46.2 kB)
13.jpg (38.1 kB)