用weblogic自带的build.xml部署,执行ant deploy就没有问题了,在控制台中部署会有问题

解决方案 »

  1.   

    我是在ECLIPSE下 部署的,具体该怎么修改呢,看过一些文章说要修改CLASSPATH 但还是不明白望指教
      

  2.   

    java.lang.UnsupportedClassVersionError: hello (Unsupported major.minor version 49.0).请确认一下你weblogic的jvm版本

    你eclipse jdk的版本
      

  3.   

    这次我把环境变量里的path设置为了bea目录下的jdk bin目录,classpath也改为了bea目录下的lib目录,jsp页面可以显示,但运行servlet去报出如下错误:Error 404--Not Found 
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
     
      

  4.   

    <2006-10-3 下午05时42分45秒 CST> <Warning> <HTTP> <BEA-101248> <[Application: 'G:\bea\user_projects\domains\mydomain2\applications', Module: 'weblogic']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 6, column 52).> 
    <2006-10-3 下午05时42分45秒 CST> <Warning> <HTTP> <BEA-101248> <[Application: 'G:\bea\user_projects\domains\mydomain2\applications', Module: 'weblogictest']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 6, column 52).> 
    启动weblogic 的时候有这个warning