
tomcat
JimAndJerry
这个作者很懒,什么都没留下…
展开
-
eclipse tomcat 项目路径
Workspace\xxxx\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\原创 2021-03-18 16:25:32 · 192 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
在使用eclipse发布到tomcat时提示java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,感觉很奇怪,于是到网站发布目录发现在WEB-INF里面没有lib目录,这就是为什么提示类没有找到的原因,导致该问题可以按照下面方法解决:1.右键点击项目,选择properties选项2.选择“Deployment Assembly”项,选择“Add” 点击弹出框选择 "Java Bu原创 2021-03-12 16:34:31 · 120 阅读 · 0 评论 -
tomcat8 重定向Web应用程序的目录
在目录apache-tomcat-8.0.47\conf\Catalina\localhost下新建_name.xml文件,在文件内加入下面的内容<Context path="/spring-boot" docBase="C:spring-boot\target\spring-boot-0.0.1-SNAPSHOT" reloadable="false" />...原创 2018-06-23 18:57:15 · 783 阅读 · 0 评论 -
tomcat8 管理界面
在conf/tomcat-users.xml添加<role rolename="admin-gui"/><role rolename="manager-gui"/><role rolename="manager-jmx"/><role rolename="manager-script"/><rol原创 2018-06-23 19:01:02 · 1700 阅读 · 0 评论