on 01-21-2012 6:50 AM
Hi
I developed an application in Dev system and it is working fine.
Application reads data from an excel sheet and send this data to an interface.
When I transported this application to Test system, I am getting below error.
java.lang.UnsupportedClassVersionError: (org/apache/poi/hssf/record/RecordFormatException) bad major version at offset=6
I tried searching for this error on SDN but not much luck.
Could you please help?
This is little urgent as UAT is in progress.
Regards
Vineet
There was some issue with NWDI tracks.
Basis corrected those settings and it worked fine.
Thank you for your help, guidance and response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is general java error, nothing to do with sap.
make sure the lib you are using can run on sap java server.
nw7 jdk1.4
ce7.2 jdk 1.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John
I am not able to find org/apache/poi/hssf/record/RecordFormatException in any of the threads on SDN.
JDK version on both dev and test environment is same. Then why application is throwing error in test environment when it is working fine in Dev environment.
Is it a possibility that some thing is going wrong in CBS?
I am able to successfully activate my applications in NWDI track. Does it mean that everything is fine with the way track is configured?
I don't get any error when I assemble my activities in CBS.
As an addition to the information on our lanscape, we have some other portals running on CE7.2 and we use same NWDI for both NWDS 7.2 and NWDS 7.0.
Regards
Vineet
I forgot to mention that application that is throwing error is built on NWDS 7.0.11 with JDK 1.4.2_04.
Also, in NWDS, under Windows --> Preferences --> Java --> Compiler --> Compliance and Classfiles JDK Compiler Compliance level is set at 1.3. Only other option in drop down is 1.4.
Is this ok or do I need to change it to 1.4?
What difference will this setting make?
Regards
Vineet
Edited by: vineet vikram on Jan 21, 2012 11:18 PM
User | Count |
---|---|
86 | |
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.