google-code-export / nutz

Automatically exported from code.google.com/p/nutz
Apache License 2.0
1 stars 1 forks source link

38 query出错…… #481

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
发生问题的调用代码:

query(null, createPager(1, 1))

问题的详细说明:

就是怎么简单的代码,貌似最新的svn版本有问题……

异常堆栈:
java.lang.NoSuchMethodError: 
org.nutz.dao.impl.entity.field.NutMappingField.setCasesensitive(Z)V
    at org.nutz.dao.impl.entity.AnnotationEntityMaker._evalMappingField(AnnotationEntityMaker.java:294)
    at org.nutz.dao.impl.entity.AnnotationEntityMaker.make(AnnotationEntityMaker.java:185)
    at org.nutz.dao.impl.EntityHolder.getEntity(EntityHolder.java:58)
    at org.nutz.dao.impl.NutDao.query(NutDao.java:282)
    at org.team4u.common.dao.CommonDao.query(CommonDao.java:120)
    at org.nutz.service.EntityService.query(EntityService.java:70)
    at org.team4u.bc.manager.BookCatalogManager.syncData(BookCatalogManager.java:224)
    at org.team4u.bc.config.MvcSetup.init(MvcSetup.java:25)
    at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:222)
    at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:97)
    at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
    at org.nutz.mvc.NutServlet.init(NutServlet.java:27)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Original issue reported on code.google.com by fjayb...@gmail.com on 17 May 2011 at 5:51

GoogleCodeExporter commented 9 years ago
应该不是一个 bug

setCasesensitive 方法是我这两天加的。

你清除一下工程的缓存看看,工程中不要又有 nutz.jar 
,又有编译好的 class

Original comment by zozoh...@gmail.com on 17 May 2011 at 6:23

GoogleCodeExporter commented 9 years ago
请拿一下 r2131 以上版本

Original comment by zozoh...@gmail.com on 15 Jul 2011 at 3:01