一篇文章需要关联很多个标签,所以他们呈一对多(多对多)的关系 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.hs.model.Article.tagMo
es6的promise可谓是异步书写的一大福音,过去异步js书写是函数嵌套函数的方式,promise出现后书写异步js代码就变得美观得多了 以前的写法:回调函数不停嵌套 ajax('/banners', function (banner_data){ ajax('/hotItems', function (hotitem_data){ ajax('/slides', function (slide_data){ ajax('/slides', function (slide_data){ },
1. _proto_tcp = socket.getprotobyname('tcp') OSError: protocol not found you should have a /etc/protocols file. It must have been deleted somehow. It comes from the netbase package. apt install -y netbase 2. File "/usr/local/lib/python2.7/dist-packag