zoukankan      html  css  js  c++  java
  • 解决方案:elipse一直loading descriptor for...

    1,问题描述:

      打开eclipse,一直在loading descriptor for...,eclipse假死,什么操作都做不了

    2,环境描述:

      Java Compiler:1.8

      Jdk :1.8

      

    3,解决方式:

        使project facets的Dynamic Web Module和web.xml头信息的版本一致,Dynamic Web Module用的3.1,所以应该保持web.xml的也为3.1.(假死时,web.xml为2.3)

        注意,因为eclipse此时处于假死状态,不能在eclipse中直接修改web.xml。所以终止eclipse进程后,到目录中去修改web.xml。

        3.1版本的web.xml:

      

    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee" 
        xmlns:web="http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
        version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee">    
        
        <display-name>Archetype Created Web Application</display-name>    
        
    </web-app>
  • 相关阅读:
    powershell,系统学习的第一种脚本语言
    mysql的source命令
    timer--计时器
    document.write 方法
    数组去重
    Abdicate
    轮播图
    使用 margin 让div块内容居中
    模运算 NOJ 1037
    模运算 NOJ 1037
  • 原文地址:https://www.cnblogs.com/firebata/p/4705016.html
Copyright © 2011-2022 走看看