随笔分类 -  JAVA

java
摘要:0.主要是下载spring的lib失败,如下图; 我的错误没有截图,懒得重现,这个是网上找的图片,大概就是这样的弹窗错误...嘿嘿(*^▽^*) 1.这个错误看了网上好多方法都没解决 ; 改代理什么的,改Maven配置都没有解决 改了下面两个都没用,注意是没用的. 看看就好. 2.后来我想了一下 我 阅读全文
posted @ 2021-02-18 12:13 orac 阅读(876) 评论(0) 推荐(0)
摘要:使用环境说明: OS:windows 7 64位 myeclipse: 2017 CI 1.安装 打开myeclipse--help Install from catalog--选择eclipse应用市场 Find中填入 Mybatis (注意:区分大小写) 点go 搜索出 Mybatis Gene 阅读全文
posted @ 2018-02-21 16:05 orac 阅读(2098) 评论(0) 推荐(0)
摘要:使用环境说明: OS:windows 7 64位 java version: "jdk1.8.0_66" IDE:myeclipse 2017 1.下载 下载地址:http://maven.apache.org/download.cgi 这里在file下选择bin的link 下载 如图 2.安装 解 阅读全文
posted @ 2018-02-21 14:54 orac 阅读(259) 评论(0) 推荐(0)
摘要:JS: var cn_name= document.getElementById("cn_name"); window.location.href="${URL}?name="+cn_name; 在这里用 window.location.href 传到后台会出现乱码 改为 var cn_name= 阅读全文
posted @ 2017-11-29 10:57 orac 阅读(2114) 评论(0) 推荐(0)
摘要:1.从代码结构入手,搞清楚Java源码所在目录以及jsp代码所在目录。2.从Web.xml入手,搞清楚首页,上下文及配置情况。3.从lib目录里初步查看系统使用的框架和工具包。4.从页面大体浏览,看页面的scriptlet使用的主要语言。5.从代码包结构初步知晓代码的层次。6.从配置文件入手,弄清楚 阅读全文
posted @ 2017-11-17 18:00 orac 阅读(4957) 评论(0) 推荐(0)
摘要:转自:http://blog.csdn.net/JasonLiuLJX/article/details/51494048 最近自己做了几个Java Web项目,有公司的商业项目,也有个人做着玩的小项目,写篇文章记录总结一下收获,列举出在做项目的整个过程中,所需要用到的技能和知识点,带给还没有真正接触 阅读全文
posted @ 2017-11-17 17:13 orac 阅读(450) 评论(0) 推荐(0)
摘要:1.Java代码: 1.1 entity类: User.java public class User { private int userId; private String userName; private String password; private String comment; //这 阅读全文
posted @ 2017-06-23 09:20 orac 阅读(328) 评论(0) 推荐(0)
摘要:1、首先配置两个数据库<bean id="dataSourceA" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="${jd 阅读全文
posted @ 2017-05-09 13:32 orac 阅读(2378) 评论(0) 推荐(0)
摘要:Mybatis版本:mybatis-3.0.6.jar 1.当入参为 string类型时 (包括java.lang.String.) 我们使用#{xxx}引入参数.会抛异常There is no getter for property named 'XXX' in 'class java.lang. 阅读全文
posted @ 2017-04-18 09:58 orac 阅读(199567) 评论(4) 推荐(7)
摘要:http://www.uploadify.com/forum/#/discussion/7329/uploadify-v3-bug-unecessary-request-when-there-is-no-button_image_url-set-/p1 原来问题的症结在于SWFUpload,这个是U 阅读全文
posted @ 2017-04-07 17:24 orac 阅读(589) 评论(0) 推荐(0)
摘要:格式定义: <context-param> <param-name>contextConfigLocation</param-name> <param-value>contextConfigLocationValue></param-value> </context-param> 作用:该元素用来声 阅读全文
posted @ 2017-04-01 10:03 orac 阅读(147) 评论(0) 推荐(0)
摘要:网上找练习的项目导入到myeclipse项目发现每个JSP 出现错误The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 看情况应该是web服务器的问题. 但是,myeclipse我也 阅读全文
posted @ 2017-03-31 15:53 orac 阅读(386) 评论(0) 推荐(0)
摘要:在jdk的bin目录下有一个wsimport.exe的工具,使用该工具命令生产java客户端代码: 命令如下: wsimport -keep -d d:\ -s d:\src -p com.map -verbose http://localhost:8090/chinauip.cfc5/ws/wbx 阅读全文
posted @ 2017-03-09 10:02 orac 阅读(3734) 评论(0) 推荐(0)
摘要:1.MYBATIS方法: <select id="getFlowNum" statementType="CALLABLE"> <![CDATA[ {call PRO_CFC_GETFLOWNUM( #{V_IN_RANDOM,mode=IN,jdbcType=VARCHAR}, #{V_IN_BUS 阅读全文
posted @ 2017-03-01 15:33 orac 阅读(4420) 评论(0) 推荐(1)
摘要:intell idea启动出现unmapped spring configuration files found提示. 把spring里面的内容都打勾. 阅读全文
posted @ 2017-02-22 22:18 orac 阅读(16696) 评论(0) 推荐(0)
摘要:更换主题: File-->setting-->Appearance&Behavior-->Appearance Intellij:白底黑字 Darcula:黑底白字 阅读全文
posted @ 2017-02-22 21:40 orac 阅读(29753) 评论(0) 推荐(0)
摘要:一般把编辑器设置为 utf-8 如下设置: file-->setting-->editor-->file encodings--> 阅读全文
posted @ 2017-02-22 21:28 orac 阅读(1712) 评论(0) 推荐(0)
摘要:默认加载的都是国外的源,我们可以配置国内的源. 右键项目-->maven-->Open ''setting.xml'' 复制下面的代码进去.保存. 我这里使用的版本是 ideaIU-14.1 阅读全文
posted @ 2017-02-22 10:54 orac 阅读(877) 评论(0) 推荐(0)
摘要:Error creating bean with name 'backPrintPaperController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.fa 阅读全文
posted @ 2016-12-21 13:52 orac 阅读(4684) 评论(2) 推荐(0)
摘要:错误: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/business/config/web-application-config.xml]; nested exception is 阅读全文
posted @ 2016-12-21 10:17 orac 阅读(2819) 评论(0) 推荐(0)