十二月 16, 2016 5:31:16 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor E:\briup1\apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\conf\Catalina\localhost\bicycleRent1.xml
十二月 16, 2016 5:31:16 下午 org.apache.catalina.startup.HostConfig deployDescriptor
警告: A docBase E:\briup1\apache-tomcat-7.0.65-windows-x64\apache-tomcat-7.0.65\webapps\bicycleRent1 inside the host appBase has been specified, and will be ignored
这是最开始启动的警告
我在tomcat中的service.xml中
Context docBase="bicycleRent1" path="/bicycleRent1" reloadable="true" source="org.eclipse.jst.jee.server:bicycleRent1"
把path的路径换成了绝对路径E:/briup1/apache-tomcat-7.0.65-windows-x64/apache-tomcat-7.0.65/webapps/bicycleRent1
重启后这个警告消失了,个人认为这是‘/’所代表的路径的问题不知道'/'代表什么。
下面是个错误:十二月 16, 2016 5:34:23 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
我已经把这个jar加入webConent中的lib了,buildpath中也能找到,虽然把jar包放进tomcat的lib中能解决,但是我想是想请教大神,弄清楚是怎么回事
http://bbs.csdn.net/topics/100022321
http://chenzhou123520.iteye.com/blog/1836987
http://stackoverflow.com/questions/6210757/java-lang-classnotfoundexception-org-springframework-web-context-contextloaderl