解决方案 »

  1.   

    'wxflagship.urlandtoken' 这个表不存在,到数据找找看
      

  2.   

    表示不存在,我用的是hibernate帮我创建表
      

  3.   

    <property name="connection.url">jdbc:mysql:///zcsys</property>
    <property name="connection.username">root</property>
    <property name="connection.password">root</property>
    <property name="connection.driver_class">
    com.mysql.jdbc.Driver
    </property>
    <property name="show_sql">true</property>
    <property name="hbm2ddl.auto">create</property>这是我cfg.xml中配置