分类前段页面显示不出来

来源:4-11 店铺类别区域信息的获取

Shenla

2018-02-18

//img.mukewang.com/szimg/5a8924b00001dbe613250517.jpg


//img.mukewang.com/szimg/5a892aba00017cca08660130.jpg


二月 18, 2018 3:24:29 下午 org.apache.tomcat.util.http.parser.Cookie logInvalidHeader

信息: A cookie header was received [1518938669; Hm_lpvt_ba76f8230db5f616edc89ce066670710=1518938669] that contained an invalid cookie. That cookie will be ignored.Note: further occurrences of this error will be logged at DEBUG level.

二月 18, 2018 3:24:29 下午 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager

信息: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 2, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 10000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0yw9t1ak3q1z1d0r9p8|162d223b, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0yw9t1ak3q1z1d0r9p8|162d223b, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/o2o?useUnicode=true&characterEncoding=utf8, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]

2018-02-18 15:24:30.405 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.ShopCategoryDao.queryShopCategory - ==>  Preparing: SELECT shop_category_id, shop_category_name, shop_category_desc, shop_category_img, priority, create_time, last_edit_time, parent_id FROM tb_shop_category WHERE parent_id is not null ORDER BY priority DESC 

2018-02-18 15:24:30.517 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.ShopCategoryDao.queryShopCategory - ==> Parameters: 

2018-02-18 15:24:30.560 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.ShopCategoryDao.queryShopCategory - <==      Total: 2

2018-02-18 15:24:30.581 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.AreaDao.queryArea - ==>  Preparing: SELECT area_id, area_name, priority, create_time, last_edit_time FROM tb_area ORDER BY priority DESC 

2018-02-18 15:24:30.581 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.AreaDao.queryArea - ==> Parameters: 

2018-02-18 15:24:30.585 [http-nio-8080-exec-4] DEBUG com.sel.o2o.dao.AreaDao.queryArea - <==      Total: 2


写回答

1回答

翔仔

2018-02-18

同学好,需要看看chrome 控制台以及eclipse控制台是否报错 然后再在前端后端设置断点调试看看错误在哪里

0
3
翔仔
回复
Shenla
那可能是controller的method(post或get)和ajax的method没对上 否则请上网查一下ajax除了success:还有一个fail:能打印一些错误信息方便定位 我目前还在老家 电脑没办法开出来 还得靠同学加把劲
2018-02-18
共3条回复

Java双版本(SSM到SpringBoot)校园商铺全栈开发

SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需

5113 学习 · 8144 问题

查看课程