MySql 在Myeclipse 中 Structs ,Ibats ,Spring 结构下 在Spring 下加载关键字
我是这么写的       <property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/knowlodge" />
<property name="username" value="root" />
<property name="password" value="123" />
发生:
  The web application [/Knowledge] registered the JBDC driver [com.mysql.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.
  
     求大神指教。     

解决方案 »

  1.   

    驱动未注册,添加Mysql的驱动没?
      

  2.   

    恩。。加了上面的value有没有问题?
      

  3.   

    从上面的报错信息来看,意思是说:应用Knowledge成功注册了com.mysql.jdbc.Driver的驱动,但是由于应用停止的时候没有注销掉该驱动,所以为了防止内存泄露强制的没有注册。
    建议:重新myeclipse和tomcat试试
      

  4.   

    mysql 你用的什么版本?我用的是5.0的:
    driverClassName=org.gjt.mm.mysql.Driver