有个问题还是想问下,我就是做了个商品表怎删改查功能,然后我想做个区间查询功能,然后我写的测试类里面测能给数据库里内容显示出来,但是在页面上一起服务就报错,我没看懂这个错什么意思
一月 29, 2019 10:19:27 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [springmvc] in context with path [/maven05] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Optional int parameter 'p1' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.] with root cause
java.lang.IllegalStateException: Optional int parameter 'p1' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.