谁能提供ActiveJDBC例子啊?

Mr.CT 发布于 2011/08/01 16:05
阅读 1K+
收藏 0

运行ActiveJDBC总是报错。

Exception in thread "main" activejdbc.DBException: failed to determine Model class name, are you sure models have been instrumented?
 at activejdbc.Model$ClassGetter.getClassName(Model.java:1848)
 at activejdbc.Model.getClassName(Model.java:1816)
 at activejdbc.Model.getDaClass(Model.java:1808)
 at activejdbc.Model.getMetaModel(Model.java:57)
 at activejdbc.Model.getMetaModelLocal(Model.java:606)
 at activejdbc.Model.set(Model.java:148)
 at com.canca.test.Test.main(Test.java:10)
Caused by: activejdbc.InitException: failed to determine Model class name, are you sure models have been instrumented?
 ... 7 more

在oschina上看到相关问题,说缺少activejdbc_models.properties文件,请问该文本在哪里呢?


 

加载中
0
鉴客
鉴客

http://www.oschina.net/question/tag/activejdbc

这里有很多 ActiveJDBC 的相关问题,你的问题属于:

http://www.oschina.net/question/4873_24618

0
SudyX
SudyX
昨晚也去看了一把, 看那个例子也没运行起来, 也是报 failed to determine Model class name, are you sure models have been instrumented? 这个错误, 然后直接去 SVN 下 Example 运行,还是一个鸟样, 别说我缺包, 我把包全下了,在Eclipse 下运行一直报那个错误, 什么玩意啊?
0
likester
likester
楼主这个问题解决了吗。我现在还是不行啊
0
JFinal
JFinal
刚看到居然还有ActiveJDBC,看过ActiveRecord没看过ActiveJDBC,看看去 
返回顶部
顶部