Skip to Content
0
Former Member
Sep 25, 2009 at 02:50 PM

Customization of ESS portal !

113 Views

Hi Experts,

I am working on Customization of ESS portal.

We have jdk1.4.2_22 installed on server.

Using NWDS7.0 sp18 with jdk1.4.2_22 build fails below error:

Settings\vanithakulkarni_s\.dtc\1\t\0C7CA564EC73CE1F904CE681D8F104EE\gen_wdp\packages\com\sap\xss\hr\per\us\bank\cc\CcPerBankInterface.java:20: cannot access com.sap.xss.per.helpers.CcHelper

[javac] ERROR: bad class file: C:\Documents and Settings\vanithakulkarni_s\.dtc\1\DCs\sap.com\ess\per\_comp\gen\default\public\InternationalPersInfo\lib\java\sap.comessper~InternationalPersInfo.jar(com/sap/xss/per/helpers/CcHelper.class)

[javac] ERROR: class file has wrong version 49.0, should be 48.0

[javac] ERROR: Please remove or make sure it appears in the correct subdirectory of the classpath.

[javac] ERROR: import com.sap.xss.per.helpers.CcHelper;

[javac] ERROR: ^

[javac] 1 error

Using NWDS7.0 sp18 with jdk1.5.0_18.

I am able to build and deploy application successfully . But getting Unsupported major.minor version 49.0 exception on the portal.

PFB Exception details.

java.lang.UnsupportedClassVersionError: com/sap/xss/hr/per/us/address/overview/wdp/InternalVcPerAddressUSOverview (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)

at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)

at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)

... 59 more

From sdn came to know UnsupportedClassVersionError is generally for version mismatch. But with matching jdku2019s not able to build the application, to resolve that used the higher version of jdk.

Can anyone help me in solving this issue.

Thanks in advance. Any pointer related to this will be highly appreciated.

Edited by: Shrushti on Sep 25, 2009 8:20 PM