0
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:965591 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Table 'mock_test_db.Branch' doesn't exist {prepstmnt 32 SELECT t0.branch_id, t0.branch_desc, t0.branch_title FROM Branch t0} [code=1146, state=42S02]
        at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4207)
        at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4171)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88)
        at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
        Truncated. see log file for complete stacktrace
Caused By: java.lang.Exception: org.apache.openjpa.lib.jdbc.ReportingSQLException: Table 'mock_test_db.Branch' doesn't exist {prepstmnt 32 SELECT t0.branch_id, t0.branch_desc, t0.branch_title FROM Branch t0} [code=1146, state=42S02]
        at org.apache.openjpa.util.Exceptions.replaceNestedThrowables(Exceptions.java:249)
        at org.apache.openjpa.persistence.PersistenceException.writeObject(PersistenceException.java:100)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        Truncated. see log file for complete stacktrace
>

我在运行我的应用程序时遇到这个错误,而某些页面工作正常

4

0 回答 0