Eclipse 3.2 + MyEclipse 5.0GA + WebLogic 9.2
来源:互联网 发布:学生基本信息表sql 编辑:程序博客网 时间:2024/05/29 15:28
选择 WebLogic 9.2 的原因
①WebLogic 8 支持的是 J2EE 1.3,也就是 Servlet 2.3 规范。若在 MyEclipse 中建立 Web Project 时选择了 J2EE 1.4[default],在部署的时候就会出现异常,提示部署描述符 web.xml 是畸形的,也就是未通过 DTD 检验。因为 J2EE 1.4 使用的是 Servlet 2.4 规范,这直接体现在 web.xml 部署描述符的头部引用中。这就是有些朋友遇到的,部署在 Tomcat 和 JBoss 中能够运行的 JSP 程序,部署到 WebLogic 8 就无法运行的原因之一。解决这个问题,需要将 WebLogic 升级到 9.2 版本;或者使用 J2EE 1.3。
Servlet 2.3 规范生成的 web.xml 头部:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
...
</web-app>
Servlet 2.4 规范生成的 web.xml 头部:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
...
</web-app>
②若在上一个问题选择了 J2EE 1.3 进行开发后,在部署时会出现另外的异常,提示“Unsupported major.minor version 49.0”—— 又是版本问题,这次是由于 JDK 版本不支持造成的。WebLogic 8 不支持 JDK 1.5,由 JDK 1.5 编译的程序无法部署到只支持 JDK 1.4 的服务器上运行。解决的办法也有两个:用 JDK 1.4 重新编译;或者换用支持 JDK 1.5 的服务器,也就是升级到 WebLogic 9.2。
- Eclipse 3.2 + MyEclipse 5.0GA + WebLogic 9.2
- Eclipse 3.2 + MyEclipse 5.0GA + WebLogic 9.2配置
- Eclipse 3.2 + MyEclipse 5.0GA + WebLogic 9.2 配置详解
- MyEclipse 5.0 配置 WebLogic 9.2
- Eclipse+MyEclipse+Weblogic环境配置
- JDK 1.6 + Eclipse 3.2.2 + MyEclipse 5.5GA + Tomcat 5.5.23
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- MyEclipse 5.0 + WebLogic 9.2 配置详解
- Pat(Advanced Level)Practice--1035(Password)
- 计算机考研
- com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax;
- 机房收费系统-状态图与活动图
- ASP.NE连接Access数据库
- Eclipse 3.2 + MyEclipse 5.0GA + WebLogic 9.2
- linux入门
- LeetCode Reverse Words in a String Total
- shell中的more命令
- 借用“青春赋”来表达我想说的
- 第二周项目三-文件+结构体实用系统
- java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
- 嵌入式开发工程师面试题 – C语言部分
- 买不到的数目