自己也没怎么搭建过框架,更何况还是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的时候写的,一年过去了,感…
出现情况: 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…