Compilation of 'D:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gs_gs\jsp_servlet\_web\__top.java' failed:
--------------------------------------------------------------------------------
 D:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gs_gs\jsp_servlet\_web\__top.java:19: cannot access com.hiaward.gs.entity.AdminEntity
probably occurred due to an error in /web/top.jsp line 4:
<%@ page import="com.hiaward.gs.entity.AdminEntity"%>
--------------------------------------------------------------------------------
Full compiler error(s):
D:\bea\WEBLOG~1\samples\domains\workshop\.\cgServer\.wlnotdelete\extract\cgServer_gs_gs\jsp_servlet\_web\__top.java:19: cannot access com.hiaward.gs.entity.AdminEntity
bad class file: D:\bea\WEBLOG~1\samples\domains\workshop\cgServer\.wlnotdelete\extract\cgServer_gs_gs\jarfiles\_wl_cls_gen.jar(com/hiaward/gs/entity/AdminEntity.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 com.hiaward.gs.entity.AdminEntity; //[ /web/top.jsp; Line: 4]
                             ^
1 error
-------------------------------------------------------------------------
以上的错误原因应该是JDK版本问题!本人用的是WEBLOGIC8应用服务器,ECLIPSE中是使用WEBLOGIC 自带的JDK编绎的,没有发现错误.然后打成WAR包,部署在WEBLOGIC服务器上. 为何还会出现版本冲突的问题呢????????