(1)server.xml文件中少了默认的:
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pserver.xml文件中少了默认的:
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
athname="conf/tomcat-users.xml" />
(2)将conf文件夹的只读属性去掉 或者右键以管理员身份运行就不会出错了
这个可能和你数据库有原因,建议你重新配置tomcat,然后在启动一下试试看!!!
(1)server.xml文件中少了默认的:
auth="Container"
type="org.apache.catalina.UserDatabase"
description="User
database
that
can
be
updated
and
saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pserver.xml文件中少了默认的:
auth="Container"
type="org.apache.catalina.UserDatabase"
description="User
database
that
can
be
updated
and
saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml"
/>
athname="conf/tomcat-users.xml"
/>
(2)将conf文件夹的只读属性去掉
或者右键以管理员身份运行就不会出错了