The APR based Apache Tomcat Native library which allows
启动后报错信息 2013-9-21 12:28:22 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;E:\Workspaces\tomcat-6.0.18\apache-tomcat-6.0.18\bin 2013-9-21 12:28:23 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2013-9-21 12:28:23 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 491 ms 2013-9-21 12:28:23 org.apache.catalina.core.StandardService start 信息: Starting service Catalina
jndi name : java:comp/env/jdbc/jdbcgold
jndi name : java:comp/env/jdbc/jdbcgold 把jdbc去掉 用成了java:comp/env/jdbcgold这个就可以了,不过还是感谢你的提示
各位兄弟以后遇到这个问题正确配置spring的JNDI格式是:java:comp/env/____(你JNDI的名字 也就是你tomcat中配置的)
|