do not put xml,json.. files inside src/main/java, otherwise put them inside src/main/resources, so maven install will include them in war file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script src='https://cdnjs.cloudflare.com/ajax/libs/EventEmitter/5.2.6/EventEmitter.min.js'></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let once = function (fn) { | |
let used = false; | |
return function () { | |
if (!used) { | |
fn.apply(null, arguments); | |
used = true; | |
} | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
代码 600893 601288 601111 600271 000898 600585 600816 000768 600705 601169 601988 601328 601997 600926 600919 601009 002142 601229 600019 601992 600008 002385 002310 002153 600085 000725 002594 000783 600372 601998 601800 601939 600115 601818 600977 600340 600068 600297 601118 000039 601888 601628 600036 600999 001979 600016 603993 601117 601985 600111 601611 601601 600028 601186 601390 000999 600482 600118 601668 600029 601098 000002 600900 600373 000625 000839 600030 601866 601919 601766 601006 002065 000 生 23 601198 000413 600804 601788 000157 简称航发动力农业银行中国国航航天信息鞍钢股份;每螺水泥安信信托中航飞机中航资本北京银行中国银行交通银行贵阳银行杭州银行江苏银行南京银行宁波银行上海银行宝钢股份金隅集团首创股份大北农东方园林石基信息同仁堂京东方 A 比亚迪长江证券中航电子中信银行中国交建建设银行东方航空光大银行中国电影华夏幸福葛洲坝广汇汽车海南橡胶中集集团中国国旅中国人寿招商银行招商证券招商蛇口民生银行洛阳宝目业中国化学中国核电北方稀土中国核建中国太保中国石化中国铁建中国中铁华润三九中国动力中国卫星中国建筑南方航空中南传媒万科 A 长江电力中文传媒长安汽车中信国安中信证券中远海发中远海 1 空中国中车大秦铁路东华软件东阿阿胶东兴证券东旭光电鹏博士光大证券中联重科代码 600516 000402 002797 002027 603288 601901 601155 600660 600383 000776 002558 002241 000651 600606 601333 601238 600332 002465 002736 601211 000728 600837 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mybatis generator 每次生成之前,记得要清除上一次生成的记录文件(xml,dao,model),否则会有不可预测的异常发生(比如:无法部署到tomcat,spring装配异常) |
mvn install:install-file -Dfile=
<path-to-file>
-DgroupId=<group-id>
-DartifactId=<artifact-id>
-Dversion=<version>
-Dpackaging=<packaging>
Such as:
mvn install:install-file -Dfile=G:\XAMPP\htdocs\Github\meAjax\neon\hyy\src\main\webapp\WEB-INF\lib\taobao-sdk-java-auto_1455716734757-20160803.jar -DgroupId=com.taobao -DartifactId=nigeerhuo-taobao1 -Dversion=1.0 -Dpackaging=jar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Java, both ClassNotFoundException and NoClassDefFoundError occur when a particular class is not found at run time. | |
But, they occur at different scenarios. ClassNotFoundException is an exception which occurs when you try to load a class | |
at run time using Class.forName() or loadClass() methods and mentioned classes are not found in the classpath. | |
On the other hand, NoClassDefFoundError is an error which occurs when a particular class is present at compile time | |
but it was missing at run time. In this tutorial, we will see the differences between ClassNotFoundException Vs NoClassDefFoundError | |
in java and when they occur. |
My Tomcat is 7.0 on Windows7 64bit.
Steps :
- Go To Tomcat installed directory and open
/bin
directory - Open
catalina.bat
with notepad, and addSET "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=Your Personal Host -Dhttp.proxyPort=Your Personal Port"
, remember replacing the host and port as your own. - OK!
such as :
>if not "%LOGGING_CONFIG%" == "" goto noJuliConfig
NewerOlder