org.apache.openjpa.persistence.ArgumentException: Could not invoke the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Nishanth Chakrapani
, 1 year ago
Could not invoke the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
via grokbase.com by Unknown author, 2 years ago
Could not invoke the static newInstance method on the named factory class "org.apache.openjpa.jdb c.kernel.JDBCBrokerFactory".
via mysql.com by Unknown author, 1 year ago
Could not invoke the static newInstance method on the named factory class "<<openjpa-1.2.2-r422266:898935 fatal user error> org.apache.openjpa.util.UserException: The named BrokerFactory "ndb" is not valid.>".
via JIRA by Didier Boudigue, 1 year ago
Could not invoke the static newInstance method on the named factory class "<<openjpa-1.0.2-r420667:627158 fatal user error> org.apache.openjpa.util.UserException: You did not name the factory class with the required property openjpa.BrokerFactory. Normally this property defaults appropriately; have you forgotten to include all the OpenJPA jars in your classpath?>".
via apache.org by Unknown author, 2 years ago
Could not invoke the static newInstance method on the named factory class "class org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
via Apache's JIRA Issue Tracker by david zhang, 1 year ago
Could not invoke the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
org.apache.openjpa.persistence.ArgumentException: Could not invoke the static newInstance method on the named factory class "org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".
at org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:76)
at org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:149)
at org.apache.openjpa.persistence.PersistenceProviderImpl.createContainerEntityManagerFactory(PersistenceProviderImpl.java:191)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:343)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.