问题产生的条件:
发生问题的调用代码:
问题的详细说明:
异常堆栈:
2010-11-06 18:39:06,298 DEBUG:[http-8080-2] Found 2 resource by src(
/com/nutz/ioc/ ) , regex( null )
2010-11-06 18:39:06,359 WARN:[http-8080-2] duplicate key 'getAllTeacher'
java.lang.RuntimeException: duplicate key 'getAllTeacher'
at org.nutz.lang.Lang.makeThrow(Lang.java:70)
at org.nutz.dao.impl.AbstractSqlManager.addSql(AbstractSqlManager.java:110)
at org.nutz.dao.impl.AbstractSqlManager.loadSQL(AbstractSqlManager.java:215)
at org.nutz.dao.impl.AbstractSqlManager.buildSQLMaps(AbstractSqlManager.java:99)
at org.nutz.dao.impl.FileSqlManager.refresh(FileSqlManager.java:83)
at org.nutz.dao.impl.AbstractSqlManager.map(AbstractSqlManager.java:38)
at org.nutz.dao.impl.AbstractSqlManager.get(AbstractSqlManager.java:65)
at org.nutz.dao.impl.AbstractSqlManager.create(AbstractSqlManager.java:72)
at com.nutz.dao.impl.TeacherDaoImpl.findAllTeacher(TeacherDaoImpl.java:31)
at com.nutz.service.impl.TeacherServiceImpl.findAll(TeacherServiceImpl.java:18)
at com.nutz.module.TeacherModule.getTeacherSelect(TeacherModule.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.nutz.mvc.invoker.ActionInvokerImpl.invoke(ActionInvokerImpl.java:259)
at org.nutz.mvc.ActionInvoking.invoke(ActionInvoking.java:37)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:73)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
33)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109
)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:595)
相关日志:
Original issue reported on code.google.com by wendal1985@gmail.com on 6 Nov 2010 at 12:49
Original issue reported on code.google.com by
wendal1985@gmail.com
on 6 Nov 2010 at 12:49