JAVA问题总结———在此文

来源:互联网 发布:深圳网络营销黑马网络 编辑:程序博客网 时间:2024/05/16 14:44

1.hibernate问题:Batch update returned unexpected row count from update [0]

Batch update returned unexpected row count from update [0]

id主键已经 设置了  自动生成,所以当你 在导入数据的时候,是不能给id设置赋值的!!!



2.spring在扫描的时候,发现 提示valueMetaInterface重名。

Annotation-specified bean name 'valueMetaInterface' for bean class [com.core.row.ValueMetaInterface] conflicts with existing, non-compatible bean definition of same name and class [com.core.row.value.ValueMetaInterface]

去掉一个即可!


3.Unable to start embedded Tomcat

servlet-api中的类和tomcat-embed-core中的ServletContext类冲突了,在pom.xml文件中exclusion servlet-api.jar就可以。

    来源于互联网,回馈互联网!!!

阅读全文
0 0
原创粉丝点击