activejdbc.InitException: you are trying to work with models, but no models are found. Maybe you have no models in project, or you did not instrument the models. It is expected that you have a file activejdbc_models.properties on classpath

Stack Overflow | jrey | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ActiveJDBC - how to define models

    Stack Overflow | 6 years ago | jrey
    activejdbc.InitException: you are trying to work with models, but no models are found. Maybe you have no models in project, or you did not instrument the models. It is expected that you have a file activejdbc_models.properties on classpath

    Root Cause Analysis

    1. activejdbc.InitException

      you are trying to work with models, but no models are found. Maybe you have no models in project, or you did not instrument the models. It is expected that you have a file activejdbc_models.properties on classpath

      at activejdbc.ModelFinder.findModels()
    2. activejdbc
      Model.<clinit>
      1. activejdbc.ModelFinder.findModels(ModelFinder.java:46)
      2. activejdbc.Registry.init(Registry.java:97)
      3. activejdbc.Model.<clinit>(Model.java:53)
      3 frames