on 12-12-2017 1:55 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.