启动报错 报mysql的错误大家给看下

这个数据库是oracle从mysql迁过来的 表和视图都没有丢失

 严重: Servlet.service() for servlet default threw exception
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION salestest.to_date does not exist
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
    at com.mysql.jdbc.Util.getInstance(Util.java:360)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:978)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)

salestest.to_date 这个函数没有找到,你的数据库有这个自定义函数么

异常说是Mysql to_date方法不存在…

to_date 是 oracle 独有的方法

FUNCTION salestest.to_date does not exist, 请问你有alestest.to_date这个不