jdk1.8和TomCat7.x的环境配置

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/tqlgwq/article/details/73275974
        我的电脑是WIN10。安装的jdk1.8和Tomcat7.x的版本,网上有很多人说两个版本不能兼容,我第一次试过后也是如此,而且网上也没有好的解决办法。但以前在简书上看到过一篇文章,说的是遇到问题不要直接就去网上找解决办法,最好自己先去尝试解决。
所以,我索性根据TomCat报的缺少环境变量这条错误,直接对号入座,解决问题。解决办法如下:
1.在系统下新增了%JAVA_HOME%环境变量,其值为C:\Java\jdk1.8.0_121,即我安装java的地址。
2.path环境变量中新增C:\Java\jdk1.8.0_121\bin
展开阅读全文

Tomcat7.X部署SSH项目出现Error

05-20

2012-5-20 22:38:48 org.apache.catalina.startup.HostConfig checkResourcesrn信息: Reloading context [/jjPrj]rn2012-5-20 22:38:48 org.apache.catalina.core.ApplicationContext logrn信息: Closing Spring root WebApplicationContextrn2012-5-20 22:38:48 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbcrn严重: The web application [/jjPrj] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.rn2012-5-20 22:38:48 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/jjPrj] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@f0776c]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@130948f]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn2012-5-20 22:38:48 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/jjPrj] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@696815]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@304b52]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn2012-5-20 22:38:48 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/jjPrj] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@a129ee]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c7e654]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn2012-5-20 22:38:48 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaksrn严重: The web application [/jjPrj] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e2aabd]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@3773c6]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.rn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://www.springframework.org/tags/form is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://www.springframework.org/tags is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jstl/core is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already definedrn2012-5-20 22:38:50 org.apache.catalina.startup.TaglibUriRule bodyrn信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined 论坛

没有更多推荐了,返回首页