lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

换1.a.27后找不到自定义sql #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
异常堆栈:
org.nutz.dao.SqlNotFoundException: fail to find SQL 'user.loginSuccess' in
file paths: ["fbsms/frame/sql"]
    at org.nutz.dao.impl.FileSqlManager.get(FileSqlManager.java:94)
    at org.nutz.dao.impl.FileSqlManager.create(FileSqlManager.java:99)
    at fbsms.module.user.impl.UserService.loginSuccess(UserService.java:88)
    at fbsms.module.user.impl.UserService.login(UserService.java:43)
    at fbsms.module.user.UserAction.login(UserAction.java:36)
    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:597)
    at org.nutz.mvc.invoker.ActionInvokerImpl.invoke(ActionInvokerImpl.java:246)
    at org.nutz.mvc.ActionInvoking.invoke(ActionInvoking.java:34)
    at org.nutz.mvc.NutServlet.service(NutServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
    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:128)
    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:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pr
otocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by happyday...@gmail.com on 22 Apr 2010 at 2:56

GoogleCodeExporter commented 9 years ago
你能把你的 SQL 目录打个压缩包传上来吗?

Original comment by zozoh...@gmail.com on 22 Apr 2010 at 3:13

GoogleCodeExporter commented 9 years ago
fixed in r1109

Original comment by zozoh...@gmail.com on 22 Apr 2010 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by zozoh...@gmail.com on 22 Apr 2010 at 3:46

GoogleCodeExporter commented 9 years ago
添加了 JUnit:

SQLFileParsingTest.test_parse_whole_directory

Original comment by zozoh...@gmail.com on 22 Apr 2010 at 3:50

GoogleCodeExporter commented 9 years ago
my mistake.

Original comment by wendal1985@gmail.com on 22 Apr 2010 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 13 May 2010 at 11:03

GoogleCodeExporter commented 9 years ago
Verified in 1.a.28

Original comment by wendal1985@gmail.com on 15 May 2010 at 8:29