Exception
时光如水_岁月如哥
一分耕耘未必一分收获,但九分耕耘,必有一分收获。加油。。。
展开
-
MyException--org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ###
org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in cn/itcast/mybatis/mapper/OrdersMapperCustom.xml### The error occurred while processing原创 2017-05-27 22:25:01 · 7424 阅读 · 1 评论 -
org.apache.ibatis.builder.IncompleteElementException: Could not find result map cn.itcast.ssm.po.Ite
HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find result map cn.itcast.ssm.po.ItemsCustomtype Exception report原创 2018-01-06 15:16:30 · 660 阅读 · 0 评论 -
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exc
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionE...原创 2018-04-02 23:58:12 · 3937 阅读 · 0 评论 -
Access restriction: The type SupplementaryCharacterData is not accessible due to restriction on requ
Access restriction: The type SupplementaryCharacterData is not accessible due to restriction on required library D:\Java\jdk1.7.0_71\jre\lib\rt.jar解决方法:①:Project -> Properties -> libraries, 先 re...原创 2018-06-02 23:53:35 · 159 阅读 · 0 评论 -
eclipse&Myeclipse源码阅读快捷键
Eclipse&Myeclipse由于Myeclipse是基于Eclipse上进行开发,因而eclipse的快捷键在Myeclipse也适用。下面我们来看看Eclipse的快捷键。Ctrl+鼠标左键,这个常用语查看变量、类型及方法的定义以及查看方法的实现Ctrl+O,这个用于查看一个类的纲要,列出其方法和成员变量,再按一次时,列出该类继承的方法及变量。Ctrl+T,这个用于查看一个类的继承...原创 2018-06-03 00:33:22 · 6291 阅读 · 1 评论 -
添加用户、统一异常处理
jquery.form.min.js使用回调在回调方法中,使用custom.box.main.js中的jqueryeasyui的提示方法。统一异常处理类ExceptionResultInfo.javapackage yycg.base.process.result;/** * 自定义系统异常类 */public class ExceptionResultInfo extends Excep...原创 2018-06-22 00:20:48 · 329 阅读 · 0 评论 -
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for re
出现:warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds解决:<javac srcdir="${src.dir}" destdir="${build.dir}" >改为:<javac srcdir="$...原创 2018-06-02 13:48:34 · 1376 阅读 · 1 评论 -
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationContext
java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at ja...原创 2018-06-19 10:16:19 · 8107 阅读 · 1 评论 -
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
六月 19, 2018 2:53:44 下午 org.apache.catalina.core.AprLifecycleListener init信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the...原创 2018-06-19 16:28:06 · 12949 阅读 · 1 评论 -
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.t...原创 2018-06-20 13:47:32 · 22715 阅读 · 0 评论 -
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanCreationException: Error creat...原创 2018-08-03 23:18:42 · 3409 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): yycg.business.dao.m
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): yycg.business.dao.mapper.YpxxMapperCustom.findYpxxList at org.apache.ibatis.binding.MapperMethod$SqlCommand.<ini...原创 2018-08-04 14:30:50 · 367 阅读 · 0 评论 -
传智的 药品集中采购系统视频教程 给出的sql文件导入的数据不全,GYSYPML、GYSYPML_CONTROL成功导入信息,亲测有效
有学习过传智的药品集中采购系统视频教程的朋友都知道数据库如果用sql文件导入的话,表数据会不全,到第五天做 供货商药品目录添加查询时,会发现GYSYPML、GYSYPML_CONTROL这两个表是没数据的。幸好给出的资料中有该两个表的数据----->>> yycg20140518.dmp 打开任务管理器、打开以下几个服务 下面把这个文件的数...原创 2018-08-05 19:47:55 · 1507 阅读 · 14 评论 -
Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a typ
Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a type - Attribute (width解决办法:到tomcat的lib目录下面找到这个包,然后在eclipse中,右击项目,选择Java Build Path>Libraries>Add E原创 2018-01-06 14:56:02 · 8671 阅读 · 4 评论 -
Request processing failed; nested exception is org.apache.ibatis.builder.IncompleteElementException:
HTTP Status 500 - Request processing failed; nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map cn.itcast.ssm.po.ItemsQueryVotype Exception re原创 2018-01-06 14:02:46 · 8196 阅读 · 1 评论 -
The content of element type "struts" must match "((package|include|bean|constant)*,unknown-handler-s
content name="struts.action.extension" value="action"/> content name="struts.ui.theme" value="simple"/> 以上提示了:The content of element type "struts" must match "((package|inclu原创 2017-05-31 15:00:54 · 2856 阅读 · 0 评论 -
Messages: No result defined for action cn.itcast.oa.test.TestAction and result SUCCESS
Struts Problem ReportStruts has detected an unhandled exception: Messages:No result defined for action cn.itcast.oa.test.TestAction and result SUCCESS StacktracesNo res原创 2017-05-31 18:14:51 · 395 阅读 · 0 评论 -
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseExc原创 2017-05-31 20:52:39 · 1910 阅读 · 0 评论 -
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Can
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem:Cannot locate BeanDefinitionDecorator for element [annotation-driven]Offending resource: class path原创 2017-06-01 09:50:27 · 48669 阅读 · 4 评论 -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFacto
控制台:2016-4-1 16:32:06 org.hibernate.annotations.common.Version 信息: Hibernate Commons Annotations 3.2.0.Final2016-4-1 16:32:07 org.hibernate.cfg.Environment 信息: Hibernate 3.6.0.Final2016-4-1转载 2017-06-01 21:39:54 · 481 阅读 · 0 评论 -
Messages: java.lang.NullPointerExceptionFile: org/apache/jsp/test_jsp.javaLine number: 23
Messages: java.lang.NullPointerExceptionFile: org/apache/jsp/test_jsp.javaLine number: 23。。。Caused by: Unable to load file:/F:/My%20Code/ItcastOA/.metadata/.me_tcat/webapps/ItcastOA/WEB-INF/cl原创 2017-06-01 13:24:57 · 597 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDao' def
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserDao' defined in class path resource [spring/applicationContext.xml]: Cannot resolve reference to bean 'Sql原创 2017-05-29 01:03:05 · 1035 阅读 · 0 评论 -
Spring与Struts2整合
第一步:在web.xml文件中Spring的监听器 org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath.applicationContext*.xml这两个配置信息可到-----》》spring-framework-2.5.6.SEC原创 2017-05-31 21:45:08 · 262 阅读 · 0 评论 -
jsp页面老提示Multiple annotations found at this line: - javax.servlet.jsp.JspException cannot be resolve
Multiple annotations found at this line:- javax.servlet.jsp.JspException cannot be resolved to a type- Attribute (width) is obsolete. Its use is discouraged in HTML5 documents.- javax.servl原创 2017-12-20 14:15:42 · 12536 阅读 · 5 评论 -
org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession. ### Cause: org.ap
org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXPar原创 2017-12-13 00:06:18 · 1772 阅读 · 2 评论 -
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect ti
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect timed outat redis.clients.jedis.Connection.connect(Connection.java:154)at redis.clients.jedis.Bina原创 2018-01-15 14:45:46 · 26928 阅读 · 5 评论 -
linux中查询IP地址时出现所谓的“乱码”问题
如果你查询ip时出现乱码,那么检查以下两个文件,并参考配置,还是不行把电脑安全卫士什么的软件退出/etc/sysconfig/networkNETWORKING=yesNETWORKING_IPV6=no/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=staticBROADCAST=192.168.1.2...原创 2018-08-16 17:53:23 · 6737 阅读 · 3 评论