dubbo java 调用服务出错

问题:

1
2
3
org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 12; schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
[2016-12-13T13:47:54,071][ERROR][c.h.p.l.RunLogspoutJobs ] Line 8 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 12; cvc-elt.1: Cannot find the declaration of element 'beans'.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 8 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 8; columnNumber: 12; cvc-elt.1: Cannot find the declaration of element 'beans'.

more >>

ubuntu 16.04 amdgpu/radeon开源驱动怎么安装

AMD发布新版本时fglrx-updates驱动就会自动升级,但其实并不总是这样,因为Ubuntu的源的更新老是会有延迟。所以,你可以自己安装指定版本的专有驱动。
  准备开始吧,在终端敲入以下命令:
  sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-heade
  如果你的Ubuntu是64位版本,你还需要这个命令:
  sudo apt-get install lib32gcc1

more >>

Spring Boot 日志管理和收集

日志对于应用程序的重要性不言而喻,社区也有各种各样的日志框架。

Spring Boot从实现上不一依赖于任何日志框架的实现,只有对于common-logging API的依赖,对应的抽象实现是 LoggingSystem 。

依靠这一层的抽象,对于日志等级的配置可以完全在Spring Boot中实现,比如 application.properties 中

more >>

Maven Wrapper

Maven是一个常用的构建工具,但是Maven的版本和插件的配合并不是那么完美,有时候你不得不切换到一个稍微旧一些的版本,以保证所有东西正常工作。

而Gradle提供了一个Wrapper,可以很好解决版本切换的问题,当然更重要的是不需要预安装Gradle。

Maven虽然没有官方的Wrapper,但是有一个第三方的Wrapper可以使用。

more >>