cancel
Showing results for 
Search instead for 
Did you mean: 

Getting compilation error in an application after portal upgrade from 7.0 to 7.3

0 Kudos

After portal upgrade from version 7.0 to 7.3 getting compilation error in an application.PFb error logs:

Error stream contains:"/usr/sap/S93/J04/j2ee/cluster/apps/JavaEE/helpdeskEAR/servlet_jsp/helpdesk/work/JEE_jsp_spnego_1512641513000.java:798: incompatible types
found : com.sap.security.api.IUserAccount

required: com.sap.security.api.IUserIUser iuser = SPNEGOUserMappingUtil.searchUser(cname, crealm, umappingFilter); ^Note: /usr/sap/S93/J04/j2ee/cluster/apps/JavaEE/helpdeskEAR/servlet_jsp/helpdesk/work/JEE_jsp_spnego_1512641513000.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

what type(jspdynpage, dynamic web project, abstract portal component, web dynpro java) of application is this?. The structure of these applications may differ from version 7.0 to 7.3. Import the code file of the application in NWDS 7.3 and add required jar file(com.sap.security.api) and check that there are no errors in the code related to libraries. Redeploying it would resolve your issues. We recently upgraded our portal and did the same way(importing, adding libraries, recompiling and deploying) to resole the issues(deprecated methods& methods does not exists in 7.3 supporting libraries).

Best Regards,

Kamal