自己也没怎么搭建过框架,更何况还是spring mvc的,最近在带两个实习生,正好教他们怎么搭建一个spring mvc的框架,然而我在映射表的时候,提示报错了. 实体基类: public class BaseEntity implements Serializable{ @Id @GeneratedValue(strategy = GenerationType.AUTO) protected Long id; @Column(updatable=false) protected Date cr…
原文 @(报错)could not find the main class, Program will exit(已解决)      (很抱歉,如果你希望能更加清楚地看清图片或是图上的文字的话,你可以按住ctrl不动,然后向上滚动鼠标的滚轮.要改变回来同理向下滚动即可.) -------------------------------------------------------------------- 今天2011.4.20: 这篇文章是我刚接触myeclipse的时候写的,一年过去了,感…
npm install 报错 : error Unexpected end of JSON input while parsing near '...sShrinkwrap":false,"d' 解决办法: 运行如下命令 npm cache clean --force…
今天本打算把[Python3爬虫]网易云音乐爬虫 的代码敲一遍, 但是在安装pycrypto老是报错, 由于我计算是win10, 并且也有vs2017 python3环境下安装pycrypto的一些问题Python踩坑之路-Python-3.6 安装pycrypto 2.6.1各种疑难杂症及解决方案windows 下的python 安装pycryptopip安装pycrypto报错:Microsoft Visual C++ 14.0 is required. 的解决办法 而我的 解决 方式和pi…
起因:今天使用maven创建web项目的时候发现项目上老是有个红X,错误如下图所示,虽然项目能正常运行起来,但是LZ的强迫症发作,不弄掉就觉得心里不舒服,于是上网查了攻略,几经周折最终大功告成,现在就把我的解决方法记录下来,防止以后再次发生. 解决步骤: 1.打开web.xml文件 把头部中2.3 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w…
要解决的问题:appium在androidV7.0系统上运行时报错 Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.] 原因分析:appium的uiautomator版本与androidV7.0不适配. 预置条件:手机端已经安装完Appium Settings 和 Unlock两个应用 解决步骤:1.修改源码文件-注释安装appi…
确认jar包加入到了build path中,然后注意版本是否与数据库相配,还要留意将jar包放入WEB-INF下的lib文件夹中…
我用jQuery ajax post方法 用flask url_for 传值到后端 $.ajax({ url:"{{url_for('marketing.manager')}}", type:'post', dataType:'json', // data:params, data:{'params':'aResult'}, success:function(data){ // console.log(data) console.log('success') },error:funct…
出现情况: Inferred type 'S' for type parameter 'S' is not within its bound; should extends xxxxxx 出现这种问题的原因: SpringBoot 版本问题,SpringBoot 2.0后新特性. 解决方法: 1.修改版本,降为SpringBoot 1.5.x: 2.修改代码: 修改前: return this.userRepository.findOne(id); 修改后: return this.userRe…
当使用在cmd窗口调用adb shell命令的时候 提示如下: adb server version (31) doesn't match this client (39); killing...error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:通常每个套接字地址(协议/网络地址/端口)只允许使用一次. (10048) This application has requested the…