当前位置: 代码迷 >> Eclipse >> myeclipse没法启动Tomcat
  详细解决方案

myeclipse没法启动Tomcat

热度:15   发布时间:2016-04-23 01:55:39.0
myeclipse无法启动Tomcat
晚上还可以启动的项目,第二天就启动不起来了,
报出错误:The markup declarations contained or pointed to by the document type declaration must be well-formed. Nested exception: The markup declarations contained or pointed to by the document type declaration must be well-formed.

也没有改过什么。就是启不来,找了半天
原因为:
<hibernate-mapping package="com.demo.hibernate.beans">

    <class name="User" table="user">
        <id name="id" column="ID" type="integer">
            <generator class="native"/>
        </id>

        <property name="username" column="username" type="String" />
        <property name="password" column="password" type="String" />
        <property name="email" column="email" type="String" />
    </class>  
</hibernate-mapping>

把 type="String"----->type="java.lang.String"
搞定~~~
  相关解决方案