swaggerorg.apache.maven.pluginsmaven-compiler-plugin1.81.8UTF-8org.apache.maven.pluginsmaven-surefire-plugin${swagger.output.dir}
${swagger.snippetOutput.dir}
com.github.kongchenswagger-maven-plugin3.1.7truecom.huawei.olap.mini.consumer.controllerhttphttpslocalhost:8800/swagger demo1.00
This is a sample.
http://www.github.com/kongchen/swagger-maven-plugin
[email protected]wss wolfhttp://www.wushangshang.comhttp://www.apache.org/licenses/LICENSE-2.0.htmlApache 2.0${basedir}/generated/document.htmljson,yaml${project.build.directory}/swaggertrueswagger-buildcompilegenerateio.swaggerswagger-hibernate-validations1.5.14
如果遇到 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 这个错误,尝试执行idea侧边的lifecycle中clean,package。执行过一遍再继续执行命令 mvn package -Pswagger就可以成功
/*
*处理例外
*/
--例外简介
--处理例外-传递例外
declare
v_ename emp.ename%TYPE;
begin
SELECT ename INTO v_ename FROM emp
where empno=&no;
dbms_output.put_line('雇员名:'||v_ename);
exceptio
import java.util.ArrayList;
import java.util.List;
public class KickOutBadGuys {
/**
* 题目:13个坏人和13个好人站成一圈,数到7就从圈里面踢出一个来,要求把所有坏人都给踢出来,所有好人都留在圈里。请找出初始时坏人站的位置。
* Maybe you can find out
Redis.conf配置文件及相关项说明
# Redis configuration file example
# Note on units: when memory size is needed, it is possible to specifiy
# it in the usual form of 1k 5GB 4M and so forth:
#
public static String convertInputStreamToString(InputStream is) {
StringBuilder result = new StringBuilder();
if (is != null)
try {
InputStreamReader inputReader = new InputStreamRead
原文:
http://www.sitepoint.com/3-new-javascript-apis-may-want-follow/?utm_source=html5weekly&utm_medium=email
本文中,介绍3个仍然处于草稿阶段,但应该值得关注的Javascript API.
1) Web Alarm API
&