cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create EAR file for WAR file extracted project

anubhapandey
Discoverer
0 Kudos

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




 
 
 
 
 
 
 
 
 
 
 
 


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anubha,

I feel that you're missing JAR dependencies and hence not able to resolve the above import errors.

Please go through the below thread for the AFP Masthead customization and follow the same:

Hope, this will help!!!

BR,

Anurag

Answers (0)