Easter79 Easter79
3年前
spring事务管理错误createSQLQuery is not valid without active transaction
网上扒的,很管用,自己就借此发一下,方便以后看。。。。。。。原文网址http://blog.csdn.net/yinjian520/article/details/8666695(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.csdn.net%2Fyinjian520%2F
Stella981 Stella981
3年前
DispatcherServlet错误的配置导致访问静态资源被拦截!
在SpringMVC的实验中发现,即使我的页面导入的资源路径是完全正确的,浏览器也报错Failedtoloadresource:theserverrespondedwithastatusof404(Notfound),而后台报NomappingfoundforHTTPrequestwithURI……的异常。!
Stella981 Stella981
3年前
Nginx 提示host not found in upstream 错误解决方法
NginxDNSresolver配置实例,本文讲解在proxy\_pass和upstreamserver通信的时候需要手动指定resolver,本文就给出了配置实例.nginx通过proxy\_pass和upstreamserver通信的时候需要手动指定resolver。某些时候DNS解析失败就会出现这个错
Wesley13 Wesley13
3年前
SpringMVC通过@autowired自动装载Service时提示装载错误
org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'itemController':Injectionofautowireddependenciesfailed;nestedexceptionisorg.spr
Stella981 Stella981
3年前
Linux中标准输出和标准错误的重导向
如果一个命令需要长时间在服务器上运行,那么很多时候会用到nohup命令,这时即便远程登录ssh中断了与服务器的联系,那么在服务器上运行的命令也不会因此而被迫停止。通常情况下,nohup与&连用,&的意思是将该命令放在后台执行。如下:nohupexample.sh&将exmaple.sh通过&放在服务器后台运行,nohup确保了即便当前
Wesley13 Wesley13
3年前
PHP程序员最易犯10种错误
PHP是个伟大的web开发语言,灵活的语言,但是看到php程序员周而复始的犯的一些错误。我做了下面这个列表,列出了PHP程序员经常犯的10中错误,大多数和安全相关。看看你犯了几种1.不转意htmlentities一个基本的常识:所有不可信任的输入(特别是用户从form中提交的数据),输出之前都要转意。
Stella981 Stella981
3年前
Flink 1.9 FlinkKafkaProducer 使用 EXACTLY_ONCE 错误记录
使用flinkFlinkKafkaProducer往kafka写入数据的时候要求使用EXACTLY\_ONCE语义本以为本以为按照官网写一个就完事,但是却报错了代码packagecom.meda.testimportorg.apache.flink.streaming.connectors.kafk
Stella981 Stella981
3年前
JvisualVm启动错误“无法监视本地Java应用程序”
JvisualVm启动错误“无法监视本地Java应用程序”20190724lamboinit现象!图1(https://oscimg.oschina.net/oscnet/9e72e58d9286e759fa8151aa09b5707ad4d.jpg)!图2
Stella981 Stella981
3年前
Intellij idea 项目报classnotfound错误的解决办法
tomcat项目部署后,启动运行时报classnotfound错误,差不多就是下面这样的!(http://static.oschina.net/uploads/space/2014/1106/190552_wFbA_228302.jpg)怎么搞呢,差不多就是下面这样!(http://static.oschina.net/upload