自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 No identifier specified for entity: com.imooc.dataObject.OrderDetail

注解@Id    应该引入包:import javax.persistence.Id;

2018-05-31 15:57:33 624

原创 No property inList found for type Integer! Traversed path: ProductCategory.categoryType

jpa格式的问题,或者是方法名规则错误;错误的是: List<ProductCategory> findByCategoryTypeInlist(List<Integer> categoryTypeList);正确的是: List<ProductCategory> findByCategoryTypeIn(List<Integer> category...

2018-05-31 15:39:20 2954

转载 Consider defining a bean of type 'com.imooc.service.ProductInfoService' in your configuration.

原因分析: 提示扫描不到service层的bean,建议创建一个bean,然后发现使用注解开发时,service层忘记注入bean了解决方法: 方法1:在CategoryServiceImpl 层加上@Service注解@Servicepublic class CategoryServiceImpl implements CategorySe...

2018-05-30 16:47:25 7293

原创 Inferred type 'S' for type parameter 'S' is not within its bound;

@Overridepublic ProductCategory findOne(Integer categoryId) { return repostitory.findOne(categoryId);}报错解决方案:    1:jdk版本问题(返回类是Optional<Girl>, Optional是jdk8自带的)    2:也是springboot版本问题,版本太高...

2018-05-17 13:34:38 488

原创 Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAUL

create table `product_info` (    `product_id` varchar(32) not null,    `product_name` varchar(64) not null comment '商品名称',    `product_price` decimal(8,2) not null comment '单价',    `product_stock` int...

2018-05-16 11:24:10 439

高仿饿了么

已经编译过环境(node,webpack)的高仿饿了么vue项目

2018-12-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除