请问各位大哥大姐,小弟建立了个server domain 用myeclipse部署到了application下,运行的时候出现这样的错
Compilation of 'D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java' failed:
--------------------------------------------------------------------------------
D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java:17: cannot access my.Test
probably occurred due to an error in /index.jsp line 10:
<%@ page import="my.Test"%>
--------------------------------------------------------------------------------
Full compiler error(s):
D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java:17: cannot access my.Test
bad class file: D:\eclipse3.2\weblogic\mytest\applications\test\WEB-INF\classes\my\Test.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 my.Test; //[ /index.jsp; Line: 10]
^
1 error
--------------------------------------------------------------------------------
Mon Aug 07 01:11:09 CST 2006
index.jsp<@ page import="my.Test">my.Test这个类的确存在
google了一下有的说是jdk版本的问题,可我也没装jdk1.5用的就是bea自带的那个jdk1.4.2_08谢谢大家
Compilation of 'D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java' failed:
--------------------------------------------------------------------------------
D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java:17: cannot access my.Test
probably occurred due to an error in /index.jsp line 10:
<%@ page import="my.Test"%>
--------------------------------------------------------------------------------
Full compiler error(s):
D:\eclipse3.2\weblogic\mytest\myserver\.wlnotdelete\extract\myserver__appsdir_test_dir_test\jsp_servlet\__index.java:17: cannot access my.Test
bad class file: D:\eclipse3.2\weblogic\mytest\applications\test\WEB-INF\classes\my\Test.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 my.Test; //[ /index.jsp; Line: 10]
^
1 error
--------------------------------------------------------------------------------
Mon Aug 07 01:11:09 CST 2006
index.jsp<@ page import="my.Test">my.Test这个类的确存在
google了一下有的说是jdk版本的问题,可我也没装jdk1.5用的就是bea自带的那个jdk1.4.2_08谢谢大家
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货