JDK1.4 OR JDK1.5?

JDK1.4 OR JDK1.5?

昨天程序出问题了,weblogic出现错误<BEA-101216>,错误提示主要如下

< 2006 - 12 - 11  上午09时31分05秒 CST >   < Error >   < HTTP >   < BEA - 101249 >   < [ServletContext(id = 32258780 ,name = ept,context - path =/ bdsc)]: Servlet  class  com.neusoft.ept.common.servlet.SSOLogonServlet  for  servlet ssologon could not be loaded because the requested  class  was not found in the classpath C:\bea\user_projects\domains\mydomain\applications\fjept\ept\WEB - INF\classes;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - ant15001.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - schema15002.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis15003.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - awt - util15004.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - dom15005.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - svggen15006.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - util15007.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - xml15008.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\bolib15009.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\cewolf15010.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\classes129_2_0_115011.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - beanutils1_6_115012.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - codec - 1.315013 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - collections2_115014.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - digester1_415015.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - discovery - 0.215016 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging - 1.0 . 415017 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging1_0_215018.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom15019.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom4j - 1.6 . 115020 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep - tool15021.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep1_215022.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\epflow1_515023.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\expression15024.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ftp15025.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jakarta - regexp1_215026.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jaxrpc15027.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jbcl15028.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jcommon - 0.8 . 015029 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdbc2_0 - stdext15030.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdom15031.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jfreechart - 0.9 . 815032 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\log4j1_2_815033.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\poi - 2.5 . 115034 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\rowset15035.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\saaj15036.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - el1_115037.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - legacy1_115038.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts1_115039.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\wsdl4j - 1.5 . 115040 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xml - apis15041.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xmlparserv29_2_0_315042.jar.
java.lang.UnsupportedClassVersionError: com
/ neusoft / ept / common / servlet / SSOLogonServlet (Unsupported major.minor version  49.0 ). >  
< 2006 - 12 - 11  上午09时31分05秒 CST >   < Error >   < HTTP >   < BEA - 101216 >   < Servlet:  " ssologon "  failed to preload on startup in Web application:  " ept " .
javax.servlet.ServletException: [HTTP:
101249 ][ServletContext(id = 32258780 ,name = ept,context - path =/ bdsc)]: Servlet  class  com.neusoft.ept.common.servlet.SSOLogonServlet  for  servlet ssologon could not be loaded because the requested  class  was not found in the classpath C:\bea\user_projects\domains\mydomain\applications\fjept\ept\WEB - INF\classes;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - ant15001.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - schema15002.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis15003.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - awt - util15004.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - dom15005.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - svggen15006.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - util15007.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - xml15008.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\bolib15009.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\cewolf15010.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\classes129_2_0_115011.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - beanutils1_6_115012.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - codec - 1.315013 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - collections2_115014.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - digester1_415015.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - discovery - 0.215016 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging - 1.0 . 415017 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging1_0_215018.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom15019.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom4j - 1.6 . 115020 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep - tool15021.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep1_215022.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\epflow1_515023.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\expression15024.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ftp15025.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jakarta - regexp1_215026.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jaxrpc15027.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jbcl15028.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jcommon - 0.8 . 015029 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdbc2_0 - stdext15030.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdom15031.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jfreechart - 0.9 . 815032 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\log4j1_2_815033.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\poi - 2.5 . 115034 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\rowset15035.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\saaj15036.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - el1_115037.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - legacy1_115038.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts1_115039.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\wsdl4j - 1.5 . 115040 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xml - apis15041.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xmlparserv29_2_0_315042.jar.
java.lang.UnsupportedClassVersionError: com
/ neusoft / ept / common / servlet / SSOLogonServlet (Unsupported major.minor version  49.0 ).
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:
824 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:
3281 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:
3238 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:
3224 )
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:
3207 )
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:
694 )
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:
483 )
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:
30 )
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:
131 )
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:
966 )
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:
361 )
    at weblogic.Server.main(Server.java:
32 )
>  
上网找了半天,也没找见解决方法,最后只好自己检查了,最后发现是djk的原因,项目是weblogic8.13+jdk1.4,前天吧,我因为做一个线程的程序,把eclipse的jdk改成1.5了,不过我只是改那个项目的jdk而没有改整个eclipse的编辑环境的,不过我却发现在eclipse的设置(eclipse-window-preferences-java-compiler里的complier compliancelevel)中,编辑默认的却改成了5.0,我把这个改成1.4,重现编辑程序,启动webloigc,ok,错误没有了,一切正常.
    我以前知道weblogic8系列的不知道jdk1.5,但在编辑默认改成5.0以前却是没有遇到,真是烦人,我个人是比较喜欢jdk1.5,因为有些方法做的比较好,做程序的时候可以少写不少代码,但没有方法,用weblogic8系列的,只能用1.4.

你可能感兴趣的:(JDK1.4 OR JDK1.5?)