![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
项目报错
KUIND_
这个作者很懒,什么都没留下…
展开
-
The goal you specified requires a project to execute but there is no POM in this directory
**maven导入本地jar包报错:The goal you specified requires a project to execute but there is no POM in this directory **问题出现项目中发现用到的jar包不是在远程仓库的中有的,是项目自己定义的jar包使用install指令去进行本地jar包导入的时候出现以上问题顾名思义没有pom文件,一开始我是直接在maven的bin目录下打开cmd进行指令的C:\Program Files\maven\apac原创 2021-07-28 17:51:59 · 1409 阅读 · 1 评论 -
One To Many‘ attribute value type should not be ‘Comment‘
One To Many’ attribute value type should not be ‘Comment’今天在写项目的时候发现一直报这个错,有可能的原因是这个原因:我项目中使用的是spring data jpa ,框架会把该属性当成数据库的一个字段,而set不是mysql的数据类型;但是我自己的问题是忘记把实体类加上注解了entity的注解了,没加的话jpa不会将它识别为一个数据库的表,所以也会产生这个错误@Entity(name = "t_comment")@Tablepubl原创 2021-05-14 16:28:34 · 2442 阅读 · 0 评论