<Host>
<Context docBase="test" path="/test" reloadable="true" source="org.eclipse.jst.j2ee.server:test"/>
<Context docBase="ms" path="/ms" reloadable="true" source="org.eclipse.jst.jee.server:ms"/><Host>我将test项目部署到tomcat是正常的。他是J2EE项目。 但是我将ms项目部署进去就无法访问。ms项目是从myeclipse中导出, .projcet文件也已经做了相应的修改。(.projcet)文件如下。<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ms</name>
<comment></comment>
<projects>
<project>Servers</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>部署到tomcat ms项目一直不能访问。在tomcat的server.xml中是 jee 而 test项目是 j2ee。 请高手解答。 谢谢了。
<Context docBase="test" path="/test" reloadable="true" source="org.eclipse.jst.j2ee.server:test"/>
<Context docBase="ms" path="/ms" reloadable="true" source="org.eclipse.jst.jee.server:ms"/><Host>我将test项目部署到tomcat是正常的。他是J2EE项目。 但是我将ms项目部署进去就无法访问。ms项目是从myeclipse中导出, .projcet文件也已经做了相应的修改。(.projcet)文件如下。<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ms</name>
<comment></comment>
<projects>
<project>Servers</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>部署到tomcat ms项目一直不能访问。在tomcat的server.xml中是 jee 而 test项目是 j2ee。 请高手解答。 谢谢了。
解决方案 »
- JDBC的问题
- 用java的for循环批量插入数据的时候总是丢几条
- ejb分布式的疑惑
- Tomcat 发布问题
- jboss 下部署ssh工程报 java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
- struts2在 jsp页面用getText()设置参数的难题!发了好几帖了,难道没人能解决??
- org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 'b.id'
- struts 登陆程序问题
- Tomcat中的用户信息放在什么地方呀?我现在不知道管理员密码了,该怎么办?
- 咨询Web前端工程师
- 使用Ajax生成xml文件
- dom4j删除XML声明
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="ms"
id="myeclipse.1268052142609"
context-root="/ms"
j2ee-spec="5.0"
archive="ms.war">
<attributes>
<attribute name="webrootdir" value="/webapps" />
</attributes>
</project-module>