{"action":"created","issue":{"url":"https://api.github.com/repos/diguage/wanwan-site/issues/1","labels_url":"https://api.github.com/repos/diguage/wanwan-site/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/diguage/wanwan-site/issues/1/comments","events_url":"https://api.github.com/repos/diguage/wanwan-site/issues/1/events","html_url":"https://github.com/diguage/wanwan-site/issues/1","id":54554626,"number":1,"title":"项目结构有问题，不会有这个路径“wanwan-site/src/main/dao/com/diguage/wanwan/”","user":{"login":"jacarrichan","id":1576779,"avatar_url":"https://avatars.githubusercontent.com/u/1576779?v=3","gravatar_id":"","url":"https://api.github.com/users/jacarrichan","html_url":"https://github.com/jacarrichan","followers_url":"https://api.github.com/users/jacarrichan/followers","following_url":"https://api.github.com/users/jacarrichan/following{/other_user}","gists_url":"https://api.github.com/users/jacarrichan/gists{/gist_id}","starred_url":"https://api.github.com/users/jacarrichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacarrichan/subscriptions","organizations_url":"https://api.github.com/users/jacarrichan/orgs","repos_url":"https://api.github.com/users/jacarrichan/repos","events_url":"https://api.github.com/users/jacarrichan/events{/privacy}","received_events_url":"https://api.github.com/users/jacarrichan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-16T09:18:45Z","updated_at":"2015-01-16T09:41:47Z","closed_at":null,"body":"项目结构有问题，不会有这个路径“wanwan-site/src/main/dao/com/diguage/wanwan/”"},"comment":{"url":"https://api.github.com/repos/diguage/wanwan-site/issues/comments/70229787","html_url":"https://github.com/diguage/wanwan-site/issues/1#issuecomment-70229787","issue_url":"https://api.github.com/repos/diguage/wanwan-site/issues/1","id":70229787,"user":{"login":"jacarrichan","id":1576779,"avatar_url":"https://avatars.githubusercontent.com/u/1576779?v=3","gravatar_id":"","url":"https://api.github.com/users/jacarrichan","html_url":"https://github.com/jacarrichan","followers_url":"https://api.github.com/users/jacarrichan/followers","following_url":"https://api.github.com/users/jacarrichan/following{/other_user}","gists_url":"https://api.github.com/users/jacarrichan/gists{/gist_id}","starred_url":"https://api.github.com/users/jacarrichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacarrichan/subscriptions","organizations_url":"https://api.github.com/users/jacarrichan/orgs","repos_url":"https://api.github.com/users/jacarrichan/repos","events_url":"https://api.github.com/users/jacarrichan/events{/privacy}","received_events_url":"https://api.github.com/users/jacarrichan/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T09:41:47Z","updated_at":"2015-01-16T09:41:47Z","body":"\r\nmapper文件的包名和对应的dao的包名要一致；没有引入jpa，所以要删掉web.xml中的对应配置.\r\n\r\n正确代码会发到你的gmail邮箱：leejun119@gmail.com\r\n\r\n\r\n![dh1 hj3q5axg_l 8a2ysy](https://cloud.githubusercontent.com/assets/1576779/5774229/976fc7a2-9da6-11e4-8655-e20acef77976.jpg)\r\n\r\n\r\n\r\n\r\n\r\n```\r\n   ____    ___                   __    __  __         ___\r\n  / __/___/ (_)__  ___ ___   __ / /__ / /_/ /___ __  ( _ )\r\n / _// __/ / / _ \\(_-</ -_) / // / -_) __/ __/ // / / _  |\r\n/___/\\__/_/_/ .__/___/\\__/  \\___/\\__/\\__/\\__/\\_, /  \\___/\r\n           /_/                              /___/\r\n   Configuration: C:\\Users\\jacarri\\AppData\\Local\\Temp\\eclipseJettyPlugin.config.wanwan_site.xml\r\n         Version: 8.1.14.v20131031\r\n         Context: /\r\n            Port: 8080\r\n       Classpath: C:/Users/jacarri/Desktop/wanwan-site/target/classes\r\n                  D:/application/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar\r\n                  D:/application/repository/ch/qos/logback/logback-classic/1.1.2/logback-classic-1.1.2.jar\r\n                  D:/application/repository/ch/qos/logback/logback-core/1.1.2/logback-core-1.1.2.jar\r\n                  D:/application/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar\r\n                  D:/application/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.0/jackson-annotations-2.4.0.jar\r\n                  D:/application/repository/com/fasterxml/jackson/core/jackson-core/2.4.0/jackson-core-2.4.0.jar\r\n                  D:/application/repository/com/fasterxml/jackson/core/jackson-databind/2.4.0/jackson-databind-2.4.0.jar\r\n                  D:/application/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.4.0/jackson-module-jaxb-annotations-2.4.0.jar\r\n                  D:/application/repository/com/google/guava/guava/17.0/guava-17.0.jar\r\n                  D:/application/repository/com/googlecode/log4jdbc/log4jdbc/1.2/log4jdbc-1.2.jar\r\n                  D:/application/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar\r\n                  D:/application/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar\r\n                  D:/application/repository/javax/servlet/jstl/1.2/jstl-1.2.jar\r\n                  D:/application/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar\r\n                  D:/application/repository/mysql/mysql-connector-java/5.1.22/mysql-connector-java-5.1.22.jar\r\n                  D:/application/repository/net/sf/ehcache/ehcache-core/2.5.0/ehcache-core-2.5.0.jar\r\n                  D:/application/repository/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar\r\n                  D:/application/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar\r\n                  D:/application/repository/org/apache/shiro/shiro-core/1.2.3/shiro-core-1.2.3.jar\r\n                  D:/application/repository/org/apache/shiro/shiro-ehcache/1.2.3/shiro-ehcache-1.2.3.jar\r\n                  D:/application/repository/org/apache/shiro/shiro-spring/1.2.3/shiro-spring-1.2.3.jar\r\n                  D:/application/repository/org/apache/shiro/shiro-web/1.2.3/shiro-web-1.2.3.jar\r\n                  D:/application/repository/org/apache/tomcat/tomcat-jdbc/7.0.53/tomcat-jdbc-7.0.53.jar\r\n                  D:/application/repository/org/apache/tomcat/tomcat-juli/7.0.53/tomcat-juli-7.0.53.jar\r\n                  D:/application/repository/org/aspectj/aspectjrt/1.7.4/aspectjrt-1.7.4.jar\r\n                  D:/application/repository/org/aspectj/aspectjweaver/1.7.4/aspectjweaver-1.7.4.jar\r\n                  D:/application/repository/org/hibernate/hibernate-validator/5.0.3.Final/hibernate-validator-5.0.3.Final.jar\r\n                  D:/application/repository/org/jboss/logging/jboss-logging/3.1.1.GA/jboss-logging-3.1.1.GA.jar\r\n                  D:/application/repository/org/mybatis/mybatis-spring/1.2.2/mybatis-spring-1.2.2.jar\r\n                  D:/application/repository/org/mybatis/mybatis/3.2.8/mybatis-3.2.8.jar\r\n                  D:/application/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar\r\n                  D:/application/repository/org/slf4j/jul-to-slf4j/1.7.7/jul-to-slf4j-1.7.7.jar\r\n                  D:/application/repository/org/slf4j/log4j-over-slf4j/1.7.7/log4j-over-slf4j-1.7.7.jar\r\n                  D:/application/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar\r\n                  D:/application/repository/org/springframework/spring-aop/4.0.9.RELEASE/spring-aop-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-beans/4.0.9.RELEASE/spring-beans-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-context/4.0.9.RELEASE/spring-context-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-core/4.0.9.RELEASE/spring-core-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-expression/4.0.9.RELEASE/spring-expression-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-jdbc/4.0.9.RELEASE/spring-jdbc-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-tx/4.0.9.RELEASE/spring-tx-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-web/4.0.9.RELEASE/spring-web-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springframework/spring-webmvc/4.0.9.RELEASE/spring-webmvc-4.0.9.RELEASE.jar\r\n                  D:/application/repository/org/springside/springside-core/4.2.2.GA/springside-core-4.2.2.GA.jar\r\n2015-01-16 17:37:49.379:INFO:oejs.Server:jetty-8.1.14.v20131031\r\n2015-01-16 17:37:49.792:INFO:/:No Spring WebApplicationInitializer types detected on classpath\r\n17:37:50,197 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]\r\n17:37:50,198 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]\r\n17:37:50,198 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/Users/jacarri/Desktop/wanwan-site/target/classes/logback.xml]\r\n17:37:50,257 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set\r\n17:37:50,277 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]\r\n17:37:50,290 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [WARN]\r\n17:37:50,305 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property\r\n17:37:50,352 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]\r\n17:37:50,355 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [rollingFile]\r\n17:37:50,373 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used\r\n17:37:50,375 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern /tmp/logs/wanwan-site.%d{yyyy-MM-dd}.log for the active file\r\n17:37:50,380 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern '/tmp/logs/wanwan-site.%d{yyyy-MM-dd}.log'.\r\n17:37:50,380 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.\r\n17:37:50,382 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Fri Jan 16 17:37:50 CST 2015\r\n17:37:50,384 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property\r\n17:37:50,387 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[rollingFile] - Active log file name: wanwan-site.log\r\n17:37:50,387 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[rollingFile] - File property is set to [wanwan-site.log]\r\n17:37:50,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.diguage.wanwan] to DEBUG\r\n17:37:50,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [jdbc.sqltiming] to INFO\r\n17:37:50,391 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG\r\n17:37:50,392 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [console]. Did you define it below instead of above in the configuration file?\r\n17:37:50,392 |-ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - See http://logback.qos.ch/codes.html#appender_order for more details.\r\n17:37:50,392 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.\r\n17:37:50,393 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@d507e9 - Registering current configuration as safe fallback point\r\n\r\n2015-01-16 17:37:50.397:INFO:/:Initializing Spring root WebApplicationContext\r\n2015-01-16 17:37:52.133:INFO:/:Initializing Spring FrameworkServlet 'springServlet'\r\n2015-01-16 17:37:53.069:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080\r\n------------------------------------------------\r\nJetty startup finished in 4.2 s.\r\nUsed memory: 5.6 MB of 10.4 MB (63.6 MB maximum)\r\nConsole available: type \"help\".\r\n------------------------------------------------\r\n\r\n```"}}