您正在尝试使用模型,但找不到任何模型。也许您在项目中没有模型,或者您没有对模型进行检测。您应该在类路径上有一个文件activejdbc_models.properties
Caused by: 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(ModelFinder.java:46)
at activejdbc.Registry.init(Registry.java:97)
at activejdbc.Model.<clinit>(Model.java:53)
... 2 more谢谢,
发布于 2011-03-02 04:38:43
这个问题已经得到了回答:Can't get activejdbc working?
基本上,您在编译后缺少一个检测步骤。如果您使用的是Maven,请看这个简单的示例:https://github.com/javalite/simple-example
如果您使用的是Ant,请参阅:https://github.com/javalite/ant-example Refer:http://javalite.io/getting_started
谢谢
https://stackoverflow.com/questions/4999636
复制相似问题