I m getting the following error when i tried to view the jsp file after deploying the .war file in weblogic.. The error is as follows, C:\DOCUME~1\KAVITH~1.SIV\LOCALS~1\Temp\jsp_servlet\__sample.java:17: cannot access samples.vo.ManualBalanceVO bad class file:
C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_Samples_Samples\jarfiles\_wl_cls_gen.jar(samples/vo/ManualBalanceVO.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import samples.vo.ManualBalanceVO; //[ /Sample.jsp; Line: 1] ^ 1 error
I m referring to this ManualBalanceVO which is in the package "samples.vo"
It can... there are just certain scenarios that will produce code that if compiled as 1.5 will not run on 1.4/1.3. Likewise, some code compiled as 1.4 will not run on 1.3.
Joined: Apr 21, 2006
I Still have a doubt , Actual scenario goes like this ,
I have a jsp file "JSP1.jsp", servlet "FILE1.class" and a class file "FILE2.class". JSP and servlet is referring to "FILE2.class" class file. I transfer the control from jsp to servlet and then back to the same jsp with certain values set to display in the client side.Control will be transferred to servlet when the form is submitted.. Why isnt the same problem coming with servlet class files. I m facing this problem only with "FILE2.class" i.e ordinary class and not with "FILE1.class" which is a servlet.I compile both files in the same manner.