把 Web 项目部署到 weblogic 上发生错误

博客介绍了WebService存在的链式错误,即第一个错误引发第二个,第二个又导致第三个,同时提及需判断是否符合自身情况,还提到会说明错误原因。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我这里的错误是链式的,第一个错误导致第二个,第二个导致第三个,在看的时候看是否符合自己的情况
第一个错误
 激活更改期间出错, 有关详细信息, 请查看日志。
 Failed to load webapp: Servlet_WebService.war because of DeploymentException: 
java.lang.UnsupportedClassVersionError: com/ffcs/demo/service/SayHelloWorldDelegate : 
Unsupported major.minor version 51.0com/ffcs/demo/service/SayHelloWorldDelegate :
  Unsupported major.minor version 51.0
 已成功安装布署。

在这里插入图片描述

第二个错误
 激活更改期间出错, 有关详细信息, 请查看日志。
 [Deployer:149189]An attempt was made to execute the 'remove' operation 
on an application named 'Servlet_WebService' that is not currently available.
  The application may have been created after non-dynamic configuration changes
  were activated. If so, the operation can not be performed until server is restarted 
 so that the application will be available.

在这里插入图片描述

第三个错误
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 in
错误原因:
eclipse 或 myeclipse 开发环境与 Weblogic 的jdk 版本不匹配,我的情况是  
Weblogic  的 Jdk 版本低,myeclipse 版本高,把myeclipse 的jdk 版本换成和 
Weblogic 一样就可以了。 这里小提示一下,以免和我犯同样的错误,再装 jdk 
不用重新配置环境变量,装好之后在myeclipse 里面配置一下就好了。  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值