Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 13, 2017 at 06:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded