随笔分类 -  java异常案例

1
java.lang.IllegalStateException: Ambiguous mapping found. Cannot map 'userInfoController' bean metho
摘要:严重: Servlet [SpringMVC] in web application [/treasure_money] threw load() exceptionjava.lang.IllegalStateException: Ambiguous mapping ... 阅读全文
posted @ 2018-05-21 09:26 2637282556 阅读(252) 评论(0) 推荐(0)
mybatis出现 Parameter '__frch_excelModel_0' not found.
摘要:1.查看parameterType的类型是不是Java.util.List类型,如果是的话,看foreach 的collection属性是不是list,2.看一下foreach里面的值有没有传递进来 3.看foreach里面的名称字段是否写错 4.还有就是我用Myb... 阅读全文
posted @ 2018-05-10 14:11 2637282556 阅读(176) 评论(0) 推荐(0)
Error creating bean with name 'userPrivilegeTempBblImpl': Injection of autowired dependencies failed
摘要:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPrivilegeTempBblImpl': Injection of autow... 阅读全文
posted @ 2018-05-09 11:56 2637282556 阅读(142) 评论(0) 推荐(0)
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking
摘要:2018-05-08 17:43:28,367 [localhost-startStop-1] INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing Roo... 阅读全文
posted @ 2018-05-09 09:42 2637282556 阅读(464) 评论(0) 推荐(0)
org.apache.ibatis.reflection.ReflectionException: Error instantiating class
摘要:十月 14, 2017 3:46:25 下午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [SpringMVC] in context ... 阅读全文
posted @ 2017-10-14 15:49 2637282556 阅读(542) 评论(0) 推荐(0)
Caused by: java.net.SocketException: Software caused connection abort: socket write error
摘要:程序运行正常,数据也没有出错,后台却老是报这个错误。在网上找了别人写的博客,这个问题的原因有几个: ①:服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉; ②:客户关掉了浏览器,而服务器还在给客户端发送数据; ③:浏览器端按了Stop ④:用serv... 阅读全文
posted @ 2017-09-23 14:04 2637282556 阅读(300) 评论(0) 推荐(0)
mybatie+spring+mvc使用反射遇到的问题
摘要:问题1:使用反射调用*serviceImpl时,使用注解的*Dao对象是空,解决办法在*serviceImpl类中,直接去spring容器获取bean 问题2;在一个类TestServiceImple的方法中(使用事务控制)中调用另外一个类SupplementaryB... 阅读全文
posted @ 2017-09-17 13:36 2637282556 阅读(111) 评论(0) 推荐(0)
找不到元素 'jbpm-configuration' 的声明。
摘要:配置内容 Line 3 in XML document from file [E:\workSpaceX86_64\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\m... 阅读全文
posted @ 2017-09-01 11:15 2637282556 阅读(161) 评论(0) 推荐(0)
new XSSFWorkbook(is); Package should contain a content type part [M1.13]
摘要:workbook = new XSSFWorkbook(is);改为 workbook = WorkbookFactory.create(is); 具体细节 http://blog.csdn.net/blueheart20/article/details... 阅读全文
posted @ 2017-08-21 13:44 2637282556 阅读(314) 评论(0) 推荐(0)
JAVA POI 读取2007 EXCEL时 XSSFWorkbook(fis);出错
摘要:原因 poi-ooxml的版本3.16和poi的版本3.9不一致 org.apache.poi poi 3.9 org.apache... 阅读全文
posted @ 2017-08-21 10:40 2637282556 阅读(308) 评论(0) 推荐(0)
Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
摘要:java项目连接远程oracle12 报的错误 解决方法 com.oracle ojdbc 14 改为下面的版本 ... 阅读全文
posted @ 2017-08-19 16:59 2637282556 阅读(310) 评论(0) 推荐(0)
### Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字
摘要:Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字原因: update Menu set IsActive='0' wher... 阅读全文
posted @ 2017-08-15 21:24 2637282556 阅读(1609) 评论(0) 推荐(0)
el表达式的一些小问题:javax.el.PropertyNotFoundException: Property 'Title' not found on type
摘要:原因: el表达式的属性首字母要小写(即使我在menu类定义的属性为大写的Title)解决 将menu.Title改为{menu.title } 阅读全文
posted @ 2017-08-09 16:21 2637282556 阅读(121) 评论(0) 推荐(0)
Invalid bound statement (not found):.....sysFunctionDao.getSysFunctionsById...(MapperMethod.ja
摘要:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.xiniu.core.dao.function.SysFunctionDao.getSysFun... 阅读全文
posted @ 2017-08-09 09:51 2637282556 阅读(124) 评论(0) 推荐(0)
MyBatis+oracle 批量插入数据的一些问题
摘要:当mybaties执行到 insert into userPrivilegeTemp这里的时候,进程就卡死了, 后来我改为insert into userPrivilegeTemp(UserID,PrivilegeID)就不会卡了, 应该是mybati... 阅读全文
posted @ 2017-08-08 17:48 2637282556 阅读(177) 评论(0) 推荐(0)
Invocation of init method failed;... Result Maps collection already contains value for
摘要:Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: ... 阅读全文
posted @ 2017-08-08 15:34 2637282556 阅读(167) 评论(0) 推荐(0)
Injection of autowired dependencies failed nested exception is Could not autowire field No qualify
摘要:Error creating bean with name 'userInfoController': Injection of autowired dependencies failed; nested exception is org.springframewor... 阅读全文
posted @ 2017-08-03 17:11 2637282556 阅读(172) 评论(0) 推荐(0)
Java Build Path Entries 没有maven怎么办
摘要:异常解决办法 右击项目–maven –update project… 这样Java Build Path Entries 就有maven了 阅读全文
posted @ 2017-06-13 23:11 2637282556 阅读(842) 评论(0) 推荐(0)
org.hibernate.MappingException: Unknown entity: com.zhou.web.entity.User
摘要:1.检查User类,发现注解的配置都没有错//实体User映射到表T_USER@Entity@Table(name="T_USER")public class User { @Id //数据库中的主键生成器,值为uuid @GeneratedValue(g... 阅读全文
posted @ 2017-04-14 01:47 2637282556 阅读(181) 评论(0) 推荐(0)
Could not load JDBC driver class [com.mysql.jdbc.Driver]异常
摘要:Property ‘driverClassName’ threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [com... 阅读全文
posted @ 2017-04-13 20:05 2637282556 阅读(320) 评论(0) 推荐(0)

1